commit 99253a868976114f9d9cc283f18c8ff15232f0b4
parent da96b5c51c3ffb8f7d426d7d9d64ac296e0573da
Author: Denis Kenzior <denkenz@gmail.com>
Date: Tue, 21 Aug 2018 10:19:39 -0500
sae: Fix Wformat warning
src/sae.c:714:3: warning: format ‘%ld’ expects argument of type ‘long
int’, but argument 6 has type ‘size_t’ [-Wformat=]
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;
}