Bug 680868 - pldhash.cpp fails to compile on mingw-w64 r=benjamin

This commit is contained in:
Jacek Caban 2011-09-09 15:07:22 +02:00
parent 185cab595a
commit 6f8d9b5235

View File

@ -135,7 +135,7 @@ PL_DHashStringKey(PLDHashTable *table, const void *key)
PLDHashNumber
PL_DHashVoidPtrKeyStub(PLDHashTable *table, const void *key)
{
return (PLDHashNumber)(unsigned long)key >> 2;
return (PLDHashNumber)(PRPtrdiff)key >> 2;
}
PRBool