mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
64-bit safe
This commit is contained in:
parent
d6316a2de0
commit
45f01abeec
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ enum
|
||||||
/*
|
/*
|
||||||
#define hashit(c) (((ulong)(c) * 0x6b43a9) >> (24 - HashLog))
|
#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
|
* lempel-ziv style compression state
|
||||||
|
|
Loading…
Reference in a new issue