]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix compiler warning on printf format with size_t
authorJouni Malinen <j@w1.fi>
Sat, 28 Apr 2012 15:30:12 +0000 (18:30 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 28 Apr 2012 15:30:12 +0000 (18:30 +0300)
Signed-hostap: Jouni Malinen <j@w1.fi>

src/utils/wpa_debug.c

index 3b71d10b18e2c8fe064e6bf9ee8494d4ed5ae120..5511ef193b0c6afec2c9a9547efca55452f002ce 100644 (file)
@@ -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;
        }