]> granicus.if.org Git - sudo/commitdiff
Fix a clang warning on macOS
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 2 Dec 2016 16:34:08 +0000 (09:34 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 2 Dec 2016 16:34:08 +0000 (09:34 -0700)
lib/util/regress/atofoo/atofoo_test.c

index 78b48758ac8bb4fc4b75cbba9c9e596ac9027130..9b50b1e26e13b9f4e774c05cd8b71b817c8eeb8d 100644 (file)
@@ -82,7 +82,7 @@ static struct strtoid_data {
     { "0,1", 0, ",", "," },
     { "10", 10, NULL, NULL },
     { "-2", -2, NULL, NULL },
-#if (id_t)-2 == 4294967294U
+#if SIZEOF_ID_T != SIZEOF_LONG_LONG
     { "-2", 4294967294U, NULL, NULL },
 #endif
     { "4294967294", 4294967294U, NULL, NULL },