From e30a77c5a1333d193e6e6dc7f7aac28ddd1006cc Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Thu, 20 Jun 2019 09:45:11 +0200 Subject: [PATCH] warnings : Fixes integer sizes in format strings --- src/flow-manager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flow-manager.c b/src/flow-manager.c index cef8f62632..54f5e5d64a 100644 --- a/src/flow-manager.c +++ b/src/flow-manager.c @@ -275,7 +275,7 @@ static inline int FlowBypassedTimeout(Flow *f, struct timeval *ts, uint64_t bytes_todst = fc->todstbytecnt; bool update = fc->BypassUpdate(f, fc->bypass_data, ts->tv_sec); if (update) { - SCLogDebug("Updated flow: %ld", FlowGetId(f)); + SCLogDebug("Updated flow: %"PRId64"", FlowGetId(f)); pkts_tosrc = fc->tosrcpktcnt - pkts_tosrc; bytes_tosrc = fc->tosrcbytecnt - bytes_tosrc; pkts_todst = fc->todstpktcnt - pkts_todst; @@ -288,7 +288,7 @@ static inline int FlowBypassedTimeout(Flow *f, struct timeval *ts, counters->bypassed_bytes += bytes_tosrc + bytes_todst; return 0; } else { - SCLogDebug("No new packet, dead flow %ld", FlowGetId(f)); + SCLogDebug("No new packet, dead flow %"PRId64"", FlowGetId(f)); if (f->livedev) { if (FLOW_IS_IPV4(f)) { LiveDevSubBypassStats(f->livedev, 1, AF_INET);