mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 660335 - Followup to fix red.
This commit is contained in:
parent
df4d68b517
commit
8dccb66a45
@ -74,8 +74,6 @@ struct nsID {
|
||||
*/
|
||||
|
||||
inline PRBool Equals(const nsID& other) const {
|
||||
PR_STATIC_ASSERT(sizeof(nsID) == 64);
|
||||
|
||||
// First cast to void* in order to silence the alignment warnings.
|
||||
return
|
||||
((PRUint64*)(void*) &m0)[0] == ((PRUint64*)(void*) &other.m0)[0] &&
|
||||
@ -108,6 +106,9 @@ struct nsID {
|
||||
//@}
|
||||
};
|
||||
|
||||
// Ensure that we didn't accidentally change the size of nsID.
|
||||
PR_STATIC_ASSERT(sizeof(nsID) == 16);
|
||||
|
||||
/*
|
||||
* Class IDs
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user