diff options
author | /dev/humancontroller <devhc@example.com> | 2017-01-30 03:02:16 +0100 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-02-07 17:34:59 +0100 |
commit | 75db20e2ad78fbb518bdd948767b07c9635defdd (patch) | |
tree | 9378d9ff04a2a0baea4fb0392a153ce8a2408325 /src/tools/asm | |
parent | 3bcfe65c2d937b195c83023ae58e99f9569ebe1b (diff) |
fix some usages of abs(), part 3: potentially tool-changing changes
Diffstat (limited to 'src/tools/asm')
-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; } |