Don't fail mysteriously on existing trace file.
[ccan] / ccan / ilog / ilog.h
index f74a3507192b7f0b52ee9d64287886bc7cbce3b5..29689f5f5ff69825bf3bca6c1d215ac8ac983315 100644 (file)
@@ -24,7 +24,7 @@
 #   elif LONG_MAX>=9223372036854775807LL
 #    define CLZ64_OFFS ((int)sizeof(unsigned long)*CHAR_BIT)
 #    define CLZ64(_x) (__builtin_clzl(_x))
-#   elif LLONG_MAX>=9223372036854775807LL
+#   else /* long long must be >= 64 bits according to ISO C */
 #    define CLZ64_OFFS ((int)sizeof(unsigned long long)*CHAR_BIT)
 #    define CLZ64(_x) (__builtin_clzll(_x))
 #   endif