aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-11-19 19:21:34 (GMT)
committerJouni Malinen <j@w1.fi>2008-11-19 19:21:34 (GMT)
commitbd1d13c199a51f4a1a31ec164e9cef3ed5237d88 (patch)
tree4156657d88aa95b141308d69d1d604bfd385840c
parentea6380e7c9ff92b218a52186c8d0bd974dae981b (diff)
downloadhostap-06-bd1d13c199a51f4a1a31ec164e9cef3ed5237d88.zip
hostap-06-bd1d13c199a51f4a1a31ec164e9cef3ed5237d88.tar.gz
hostap-06-bd1d13c199a51f4a1a31ec164e9cef3ed5237d88.tar.bz2
Fixed size_t printf format for 64-bit builds
-rw-r--r--src/drivers/driver_broadcom.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/drivers/driver_broadcom.c b/src/drivers/driver_broadcom.c
index 9a465ca..f24b9b8 100644
--- a/src/drivers/driver_broadcom.c
+++ b/src/drivers/driver_broadcom.c
@@ -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;