aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_winreg.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-09-02 10:22:52 (GMT)
committerJouni Malinen <j@w1.fi>2010-09-02 10:22:52 (GMT)
commitde1267d4eb69084b342dd8fdf392434d19cf6464 (patch)
treec9dced6dc28686328a3422ec3b9f122e7fdd65b2 /wpa_supplicant/config_winreg.c
parent36af1c7d31bdc5ba4dacacbf32d3c7585665ae2b (diff)
downloadhostap-de1267d4eb69084b342dd8fdf392434d19cf6464.zip
hostap-de1267d4eb69084b342dd8fdf392434d19cf6464.tar.gz
hostap-de1267d4eb69084b342dd8fdf392434d19cf6464.tar.bz2
winreg: Get rid of compiler warning
Diffstat (limited to 'wpa_supplicant/config_winreg.c')
-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);