From: Philippe Antoine Date: Thu, 24 Sep 2020 13:28:58 +0000 (+0200) Subject: util: fix warning about format string for integer X-Git-Tag: suricata-6.0.0~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b735a2e57b02d408069d7ac50e8b9278728f01e;p=thirdparty%2Fsuricata.git util: fix warning about format string for integer --- diff --git a/src/util-thash.c b/src/util-thash.c index 05fc92df5e..2753dae17d 100644 --- a/src/util-thash.c +++ b/src/util-thash.c @@ -337,7 +337,7 @@ THashTableContext *THashInit(const char *cnf_prefix, size_t data_size, void THashConsolidateMemcap(THashTableContext *ctx) { ctx->config.memcap = MAX(SC_ATOMIC_GET(ctx->memuse), THASH_DEFAULT_MEMCAP); - SCLogDebug("memcap after load set to: %lu", ctx->config.memcap); + SCLogDebug("memcap after load set to: %" PRIu64, ctx->config.memcap); } /** \brief shutdown the flow engine