From: Jouni Malinen Date: Thu, 20 Oct 2011 17:49:21 +0000 (+0300) Subject: Interworking: Use unsigned integer for bitfield X-Git-Tag: hostap-1-bp~113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a25f29d890f56c4df81143f8b5eb42fb5eeeb07;p=thirdparty%2Fhostap.git Interworking: Use unsigned integer for bitfield Signed integer with one-bit value does not make much sense, so clean this up by using an unsigned integer instead. --- diff --git a/wpa_supplicant/wpa_supplicant_i.h b/wpa_supplicant/wpa_supplicant_i.h index b327f4c65..54f5cc426 100644 --- a/wpa_supplicant/wpa_supplicant_i.h +++ b/wpa_supplicant/wpa_supplicant_i.h @@ -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 */ };