]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Interworking: Use unsigned integer for bitfield
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 20 Oct 2011 17:49:21 +0000 (20:49 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 20 Oct 2011 17:49:21 +0000 (20:49 +0300)
Signed integer with one-bit value does not make much sense, so clean
this up by using an unsigned integer instead.

wpa_supplicant/wpa_supplicant_i.h

index b327f4c65f95386f972bd66e831347a98e4153d9..54f5cc4269d39575820d4bcac2b307513b77368e 100644 (file)
@@ -591,9 +591,9 @@ struct wpa_supplicant {
        struct gas_query *gas;
 
 #ifdef CONFIG_INTERWORKING
-       int fetch_anqp_in_progress:1;
-       int network_select:1;
-       int auto_select:1;
+       unsigned int fetch_anqp_in_progress:1;
+       unsigned int network_select:1;
+       unsigned int auto_select:1;
 #endif /* CONFIG_INTERWORKING */
 };