]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(hash_compare_active_dir_ents): Return explicit `true'
authorJim Meyering <jim@meyering.net>
Mon, 25 Dec 2000 10:45:10 +0000 (10:45 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 25 Dec 2000 10:45:10 +0000 (10:45 +0000)
or `false', rather than relying on implicit int-to-enum cast.

src/remove.c

index 6b5dad09fe3c628223f23dc44cb6c787e6cb8e08..4b1ab303310691e70041cdcee9f2f307d2a8f397 100644 (file)
@@ -171,7 +171,7 @@ hash_compare_active_dir_ents (void const *x, void const *y)
 {
   struct active_dir_ent const *a = x;
   struct active_dir_ent const *b = y;
-  return SAME_INODE (*a, *b);
+  return SAME_INODE (*a, *b) ? true : false;
 }
 
 /* A hash function for null-terminated char* strings using