Fix GCC warning: integer constant is so large that it is unsigned

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg 2021-05-06 08:55:26 +02:00
parent 947a0e103b
commit 65ceec1171

View File

@ -1193,7 +1193,7 @@ void printsys(char *msg)
*/
if (sys_seqno > 0 && seqno <= sys_seqno) {
/* allow dupes around the edge */
if (sys_seqno < 18446744073709551000)
if (sys_seqno < 18446744073709551000ULL)
return;
}
sys_seqno = seqno;