mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 679832: Explicitly cast to a pointer-sized integer, when converting between 32-bit ints and void* pointers in nsCheapSets.h. r=bsmedberg
This commit is contained in:
parent
be7e0decc6
commit
1c4b998234
@ -175,7 +175,7 @@ private:
|
||||
/** Set the single integer */
|
||||
void SetInt(PRInt32 aInt)
|
||||
{
|
||||
mValOrHash = (void*)((aInt << 1) | 0x1);
|
||||
mValOrHash = (void*)(intptr_t)((aInt << 1) | 0x1);
|
||||
}
|
||||
/** Create the hash and initialize */
|
||||
nsresult InitHash(nsInt32HashSet** aSet);
|
||||
|
Loading…
Reference in New Issue
Block a user