Convert signed bit field to unsigned one

It's cleaner to use unsigned bit field with one bit values.
This commit is contained in:
Jouni Malinen 2011-10-16 13:21:54 +03:00
parent b02897e70b
commit 298716b495

View file

@ -33,8 +33,8 @@ struct gas_query_pending {
u8 addr[ETH_ALEN]; u8 addr[ETH_ALEN];
u8 dialog_token; u8 dialog_token;
u8 next_frag_id; u8 next_frag_id;
int wait_comeback:1; unsigned int wait_comeback:1;
int offchannel_tx_started:1; unsigned int offchannel_tx_started:1;
int freq; int freq;
u16 status_code; u16 status_code;
struct wpabuf *adv_proto; struct wpabuf *adv_proto;