]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
util: fix warning about format string for integer
authorPhilippe Antoine <contact@catenacyber.fr>
Thu, 24 Sep 2020 13:28:58 +0000 (15:28 +0200)
committerJason Ish <jason.ish@oisf.net>
Wed, 7 Oct 2020 15:40:38 +0000 (09:40 -0600)
src/util-thash.c

index 05fc92df5e781e9a8d1abee928ebebb199d284f0..2753dae17d8901f82923ed3fc63a0eb0b9f4528d 100644 (file)
@@ -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