bug 356734: nsBaseHashtable.h casts a pointer to a PRBool, which gives an error in 64 bit gcc

r=dbradly, sr=biesi
This commit is contained in:
db48x%yahoo.com 2006-10-17 04:00:01 +00:00
parent 2dea64a470
commit cc270ac04a

View File

@ -276,7 +276,7 @@ public:
~nsBaseHashtableMT();
PRBool Init(PRUint32 initSize = PL_DHASH_MIN_SIZE);
PRBool IsInitialized() const { return (PRBool) mLock; }
PRBool IsInitialized() const { return mLock != nsnull; }
PRUint32 Count() const;
PRBool Get(KeyType aKey, UserDataType* pData) const;
PRBool Put(KeyType aKey, UserDataType aData);