Fixed size_t printf format for 64-bit builds

This commit is contained in:
Jouni Malinen 2008-11-19 21:21:34 +02:00
parent ea6380e7c9
commit bd1d13c199

View file

@ -488,8 +488,9 @@ wpa_driver_broadcom_get_scan_results(void *priv,
wbi = (wl_bss_info_t *) ((u8 *) wbi + wbi->length);
}
wpa_printf(MSG_MSGDUMP, "Received %d bytes of scan results (%d BSSes)",
wsr->buflen, ap_num);
wpa_printf(MSG_MSGDUMP, "Received %d bytes of scan results (%lu "
"BSSes)",
wsr->buflen, (unsigned long) ap_num);
os_free(buf);
return ap_num;