From: Todd C. Miller Date: Fri, 2 Dec 2016 16:34:08 +0000 (-0700) Subject: Fix a clang warning on macOS X-Git-Tag: SUDO_1_8_19^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e8f612ead489fc111d6a424b2c38af3df104e902;p=sudo Fix a clang warning on macOS --- diff --git a/lib/util/regress/atofoo/atofoo_test.c b/lib/util/regress/atofoo/atofoo_test.c index 78b48758a..9b50b1e26 100644 --- a/lib/util/regress/atofoo/atofoo_test.c +++ b/lib/util/regress/atofoo/atofoo_test.c @@ -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 },