From 117d51c96581bd1117e1ad377abed9b5164f46b9 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Mon, 5 Dec 2011 09:42:02 +0100 Subject: [PATCH] Fix a compile warning when debug is enabled. --- src/detect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/detect.c b/src/detect.c index 00e1a500be..32ba52dec7 100644 --- a/src/detect.c +++ b/src/detect.c @@ -912,7 +912,7 @@ static inline void SigMatchSignaturesBuildMatchArraySIMD(DetectEngineThreadCtx * /* convert into a bitarray */ bm = ((uint64_t) _mm_movemask_epi8(r2.v)); - SCLogDebug("bm1 %08x", bm); + SCLogDebug("bm1 %08"PRIx64, bm); /* load a batch of masks */ sm.v = _mm_load_si128((const __m128i *)&det_ctx->sgh->mask_array[u+16]); @@ -941,7 +941,7 @@ static inline void SigMatchSignaturesBuildMatchArraySIMD(DetectEngineThreadCtx * /* convert into a bitarray */ bm |= ((uint64_t) _mm_movemask_epi8(r2.v)) << 48; - SCLogDebug("bm2 %08x", bm); + SCLogDebug("bm2 %08"PRIx64, bm); if (bm == 0) { continue;