about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/elfs/elfhash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elfs/elfhash.c b/src/elfs/elfhash.c
index c64f6909..7c3b1138 100644
--- a/src/elfs/elfhash.c
+++ b/src/elfs/elfhash.c
@@ -187,9 +187,9 @@ static int SymbolMatch(elfheader_t* h, uint32_t i, int ver, const char* vername,
 uint32_t old_elf_hash(const char* name)
 {
     uint32_t h = 0, g;
-    for (unsigned char c = *name; c; c = *++name) {
+    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;