64-bit safe
This commit is contained in:
parent
d6316a2de0
commit
45f01abeec
@ -82,7 +82,7 @@ enum
|
||||
/*
|
||||
#define hashit(c) (((ulong)(c) * 0x6b43a9) >> (24 - HashLog))
|
||||
*/
|
||||
#define hashit(c) ((((ulong)(c) & 0xffffff) * 0x6b43a9b5) >> (32 - HashLog))
|
||||
#define hashit(c) (((((ulong)(c) & 0xffffff) * 0x6b43a9b5) >> (32 - HashLog)) & 0xFFFFFFFF)
|
||||
|
||||
/*
|
||||
* lempel-ziv style compression state
|
||||
|
||||
Loading…
Reference in New Issue
Block a user