diff options
Diffstat (limited to 'src/tools/asm/q3asm.c')
-rw-r--r-- | src/tools/asm/q3asm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/asm/q3asm.c b/src/tools/asm/q3asm.c index 44a42196..dcd8be10 100644 --- a/src/tools/asm/q3asm.c +++ b/src/tools/asm/q3asm.c @@ -457,7 +457,7 @@ static int atoiNoCap (const char *s) HashString ============= */ -/* Default hash function of Kazlib 1.19, slightly modified. */ +/* Default hash function of Kazlib 1.19. */ static unsigned int HashString (const char *key) { static unsigned long randbox[] = { @@ -478,7 +478,7 @@ static unsigned int HashString (const char *key) acc = (acc << 2) | (acc >> 30); acc &= 0xffffffffU; } - return abs(acc); + return acc; } |