diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/elfs/elfhash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elfs/elfhash.c b/src/elfs/elfhash.c index 6c602617..c64f6909 100644 --- a/src/elfs/elfhash.c +++ b/src/elfs/elfhash.c @@ -189,7 +189,7 @@ uint32_t old_elf_hash(const char* name) uint32_t h = 0, g; for (unsigned char c = *name; c; c = *++name) { h = (h << 4) + c; - if (g = h & 0xf0000000) { + if (g = (h & 0xf0000000)) { h ^= g >> 24; } h &= ~g; |