aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_peer/eap_fast_pac.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2008-09-27 07:46:06 (GMT)
committerJouni Malinen <j@w1.fi>2008-09-27 07:46:06 (GMT)
commitfa2ec7eb634a0ed9dd9885d38ab6a49d23d218a1 (patch)
tree20f867e4a941fb9badfa51c6f4a218a6293dd101 /src/eap_peer/eap_fast_pac.c
parent9cf32261ee383854e53f49d4fa201b4e5bb848d9 (diff)
downloadhostap-fa2ec7eb634a0ed9dd9885d38ab6a49d23d218a1.zip
hostap-fa2ec7eb634a0ed9dd9885d38ab6a49d23d218a1.tar.gz
hostap-fa2ec7eb634a0ed9dd9885d38ab6a49d23d218a1.tar.bz2
Silenced compiler warnings on size_t printf format and shadowed variables
Diffstat (limited to 'src/eap_peer/eap_fast_pac.c')
-rw-r--r--src/eap_peer/eap_fast_pac.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/eap_peer/eap_fast_pac.c b/src/eap_peer/eap_fast_pac.c
index 1583f49..a052ee1 100644
--- a/src/eap_peer/eap_fast_pac.c
+++ b/src/eap_peer/eap_fast_pac.c
@@ -834,8 +834,8 @@ int eap_fast_load_pac_bin(struct eap_sm *sm, struct eap_fast_pac **pac_root,
if (blob == NULL)
os_free(buf);
- wpa_printf(MSG_DEBUG, "EAP-FAST: Read %d PAC entries from '%s' (bin)",
- count, pac_file);
+ wpa_printf(MSG_DEBUG, "EAP-FAST: Read %lu PAC entries from '%s' (bin)",
+ (unsigned long) count, pac_file);
return 0;
@@ -909,8 +909,8 @@ int eap_fast_save_pac_bin(struct eap_sm *sm, struct eap_fast_pac *pac_root,
return -1;
}
- wpa_printf(MSG_DEBUG, "EAP-FAST: Wrote %d PAC entries into '%s' (bin)",
- count, pac_file);
+ wpa_printf(MSG_DEBUG, "EAP-FAST: Wrote %lu PAC entries into '%s' "
+ "(bin)", (unsigned long) count, pac_file);
return 0;
}