From 99253a868976114f9d9cc283f18c8ff15232f0b4 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 21 Aug 2018 10:19:39 -0500 Subject: [PATCH] sae: Fix Wformat warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit src/sae.c:714:3: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘size_t’ [-Wformat=] --- src/sae.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sae.c b/src/sae.c index 343c3248..62729bd4 100644 --- a/src/sae.c +++ b/src/sae.c @@ -711,7 +711,7 @@ static void sae_process_anti_clogging(struct sae_sm *sm, const uint8_t *ptr, * It is suggested that an Anti-Clogging Token not exceed 256 octets */ if (len > 256) { - l_error("anti-clogging token size %ld too large, 256 max", len); + l_error("anti-clogging token size %zu too large, 256 max", len); return; }