aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-09-02 10:22:52 (GMT)
committerJouni Malinen <j@w1.fi>2010-09-05 14:34:56 (GMT)
commit78d386db91f7c0b47ff91b8f11c1578c145635b7 (patch)
tree8c9f5f350d8e4994430c280a3c099e82286c1b70
parent1598c38aa04a0eee7a6acffc512b16ff73ddad06 (diff)
downloadhostap-07-78d386db91f7c0b47ff91b8f11c1578c145635b7.zip
hostap-07-78d386db91f7c0b47ff91b8f11c1578c145635b7.tar.gz
hostap-07-78d386db91f7c0b47ff91b8f11c1578c145635b7.tar.bz2
winreg: Get rid of compiler warning
(cherry picked from commit de1267d4eb69084b342dd8fdf392434d19cf6464)
-rw-r--r--wpa_supplicant/config_winreg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/config_winreg.c b/wpa_supplicant/config_winreg.c
index 811eb7e..9a7825a 100644
--- a/wpa_supplicant/config_winreg.c
+++ b/wpa_supplicant/config_winreg.c
@@ -258,7 +258,7 @@ static int wpa_config_read_global(struct wpa_config *config, HKEY hk)
#endif /* CONFIG_WPS */
wpa_config_read_reg_dword(hk, TEXT("bss_max_count"),
- &config->bss_max_count);
+ (int *) &config->bss_max_count);
wpa_config_read_reg_dword(hk, TEXT("filter_ssids"),
&config->filter_ssids);