Fix compiler warning on printf format with size_t

Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2012-04-28 18:30:12 +03:00
parent d211881474
commit e09e61c2c1

View 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;
}