Browse Source

Fix compiler warning on printf format with size_t

Signed-hostap: Jouni Malinen <j@w1.fi>
Jouni Malinen 13 years ago
parent
commit
e09e61c2c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/utils/wpa_debug.c

+ 1 - 1
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;
 	}