Browse Source

explicit test

Francois Perrad 10 years ago
parent
commit
9654a40ad0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/test58.c

+ 1 - 1
tests/test58.c

@@ -31,7 +31,7 @@ int main(int argc,char *argv[]) {
     printf("%u users. Deleting odd id's...\n", c);
     /* delete the odd id's */
     HASH_ITER(hh, users, user, tmp) {
-        if (user->id & 1) HASH_DEL(users,user);
+        if ((user->id & 1) != 0) HASH_DEL(users,user);
     }
 
     /* show the hash */