From: Jouni Malinen Date: Sun, 16 Oct 2011 10:21:54 +0000 (+0300) Subject: Convert signed bit field to unsigned one X-Git-Tag: hostap-1-bp~157 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=298716b49538d784f58c7fbfb453a21949c6fe23;p=thirdparty%2Fhostap.git Convert signed bit field to unsigned one It's cleaner to use unsigned bit field with one bit values. --- diff --git a/wpa_supplicant/gas_query.c b/wpa_supplicant/gas_query.c index 0011017b6..1ac185a23 100644 --- a/wpa_supplicant/gas_query.c +++ b/wpa_supplicant/gas_query.c @@ -33,8 +33,8 @@ struct gas_query_pending { u8 addr[ETH_ALEN]; u8 dialog_token; u8 next_frag_id; - int wait_comeback:1; - int offchannel_tx_started:1; + unsigned int wait_comeback:1; + unsigned int offchannel_tx_started:1; int freq; u16 status_code; struct wpabuf *adv_proto;