]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
main: fix compiler warning
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 8 Dec 2015 16:37:01 +0000 (17:37 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 8 Dec 2015 17:02:05 +0000 (18:02 +0100)
main.c

diff --git a/main.c b/main.c
index c2c33f568cee04c2ff4269b3563be1880e32b9d9..46f0f31b290f7dc04aa3bbafd3d6914372d164a7 100644 (file)
--- 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);
 }
 
 /* ================================================== */