Bug 793314 - Remove PtrBits; r=mounir,roc

This commit is contained in:
Ms2ger
2012-10-02 10:24:11 +02:00
parent 0f227cd68c
commit f8c108d2d8
15 changed files with 47 additions and 58 deletions

View File

@@ -363,9 +363,9 @@ Initialize()
return NS_ERROR_FAILURE;
}
NS_ASSERTION(sizeof(PtrBits) == sizeof(void *),
"Eeek! You'll need to adjust the size of PtrBits to the size "
"of a pointer on your platform.");
MOZ_STATIC_ASSERT(sizeof(uintptr_t) == sizeof(void*),
"Eeek! You'll need to adjust the size of uintptr_t to the "
"size of a pointer on your platform.");
gInitialized = true;