mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 10:25:06 -05:00
main: fix compiler warning
This commit is contained in:
2
main.c
2
main.c
@@ -76,7 +76,7 @@ do_platform_checks(void)
|
|||||||
the usual implementation of conversion of unsigned integers */
|
the usual implementation of conversion of unsigned integers */
|
||||||
assert(sizeof (int) >= 4);
|
assert(sizeof (int) >= 4);
|
||||||
assert(-1 == ~0);
|
assert(-1 == ~0);
|
||||||
assert((int32_t)4294967295 == (int32_t)-1);
|
assert((int32_t)4294967295U == (int32_t)-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
|
|||||||
Reference in New Issue
Block a user