Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.

Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@101008 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cls%seawood.org
2001-08-14 07:59:59 +00:00
parent e82eded973
commit 3b8b92a2e8
84 changed files with 242 additions and 177 deletions

View File

@@ -23,6 +23,7 @@
* Daniel Glazman <glazman@netscape.com>
*/
#include "nscore.h"
#include "nsICSSStyleSheet.h"
#include "nsIArena.h"
#include "nsCRT.h"
@@ -120,7 +121,7 @@ public:
PRUint32 AtomKey_base::HashCode(void) const
{
return (PRUint32)mAtom;
return NS_PTR_TO_INT32(mAtom);
}
PRBool AtomKey_base::Equals(const nsHashKey* aKey) const