Use unsigned bitfield for 1-bit values

This commit is contained in:
Jouni Malinen 2010-04-11 12:27:13 +03:00
parent 9efc3f2a4b
commit 8d6399e455
2 changed files with 5 additions and 5 deletions

View file

@ -29,8 +29,8 @@ struct eap_tnc_data {
struct wpabuf *out_buf;
size_t out_used;
size_t fragment_size;
int was_done:1;
int was_fail:1;
unsigned int was_done:1;
unsigned int was_fail:1;
};