Parcourir la source

Convert signed bit field to unsigned one

It's cleaner to use unsigned bit field with one bit values.
Jouni Malinen il y a 13 ans
Parent
commit
298716b495
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      wpa_supplicant/gas_query.c

+ 2 - 2
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;