From 65ceec1171ae4c1e46bb41a63aab6ab286efba03 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Thu, 6 May 2021 08:55:26 +0200 Subject: [PATCH] Fix GCC warning: integer constant is so large that it is unsigned Signed-off-by: Joachim Wiberg --- src/syslogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syslogd.c b/src/syslogd.c index 79225f8..09d06a8 100644 --- a/src/syslogd.c +++ b/src/syslogd.c @@ -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;