cleanup: pacify GCC with an extra pair of parens
authorNikodemus Siivola <nikodemus@random-state.net>
Fri, 25 Nov 2011 15:23:12 +0000 (17:23 +0200)
committerNikodemus Siivola <nikodemus@random-state.net>
Sun, 27 Nov 2011 11:19:21 +0000 (13:19 +0200)
  Meh. What a stupid warning.

src/runtime/coreparse.c

index 0cc32a9..884a9e1 100644 (file)
@@ -511,7 +511,7 @@ load_core_file(char *file, os_vm_offset_t file_offset)
                      *
                      * The low bits of each word are allocation flags.
                      */
-                    if (word=data[i]) {
+                    if ((word=data[i])) {
                         page_table[offset].region_start_offset = word & ~0x03;
                         page_table[offset].allocated = word & 0x03;
                     }