From: Miroslav Lichvar Date: Tue, 8 Dec 2015 16:37:01 +0000 (+0100) Subject: main: fix compiler warning X-Git-Tag: 2.3-pre1~64 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=fe502128b8e80119873824b878b81cfff55d2c56;p=thirdparty%2Fchrony.git main: fix compiler warning --- diff --git a/main.c b/main.c index c2c33f56..46f0f31b 100644 --- a/main.c +++ b/main.c @@ -76,7 +76,7 @@ do_platform_checks(void) the usual implementation of conversion of unsigned integers */ assert(sizeof (int) >= 4); assert(-1 == ~0); - assert((int32_t)4294967295 == (int32_t)-1); + assert((int32_t)4294967295U == (int32_t)-1); } /* ================================================== */