main: fix compiler warning
This commit is contained in:
parent
46f0ad6b53
commit
fe502128b8
1 changed files with 1 additions and 1 deletions
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
|
|
Loading…
Reference in a new issue