winreg: Get rid of compiler warning
authorJouni Malinen <j@w1.fi>
Thu, 2 Sep 2010 10:22:52 +0000 (13:22 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 2 Sep 2010 10:22:52 +0000 (13:22 +0300)
wpa_supplicant/config_winreg.c

index 811eb7e..9a7825a 100644 (file)
@@ -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);