From e09e61c2c131c623015903d7af756378aa775da3 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 28 Apr 2012 18:30:12 +0300 Subject: [PATCH] Fix compiler warning on printf format with size_t Signed-hostap: Jouni Malinen --- src/utils/wpa_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/wpa_debug.c b/src/utils/wpa_debug.c index 3b71d10b1..5511ef193 100644 --- a/src/utils/wpa_debug.c +++ b/src/utils/wpa_debug.c @@ -338,7 +338,7 @@ static void _wpa_hexdump(int level, const char *title, const u8 *buf, } syslog(syslog_priority(level), "%s - hexdump(len=%lu):%s", - title, len, display); + title, (unsigned long) len, display); os_free(strbuf); return; }