From de1267d4eb69084b342dd8fdf392434d19cf6464 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Thu, 2 Sep 2010 13:22:52 +0300 Subject: [PATCH] winreg: Get rid of compiler warning --- wpa_supplicant/config_winreg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/config_winreg.c b/wpa_supplicant/config_winreg.c index 811eb7ec8..9a7825a00 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);