mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 15:01:41 +00:00
Implement the ROTL macro correctly.
Bit rotation requires unsigned ints.
This commit is contained in:
parent
a6e65488ec
commit
1ed1efbdfb
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ opcode_t *op_goto;
|
|||
opcode_t *op_jump;
|
||||
opcode_t *op_jumpb;
|
||||
|
||||
#define ROTL(x,n) (((x)<<(n))|(x)>>(32-n))
|
||||
#define ROTL(x,n) ((((unsigned)(x))<<(n))|((unsigned)(x))>>(32-n))
|
||||
|
||||
static uintptr_t
|
||||
get_hash (void *_op, void *_tab)
|
||||
|
|
Loading…
Reference in a new issue