aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_server
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-04-11 12:27:13 +0300
committerJouni Malinen <j@w1.fi>2010-04-11 12:27:13 +0300
commit8d6399e45585c092bd6df93760ea43924df27ddc (patch)
tree55bcc634e95819e6d1e7f5b005e215cfa39171b1 /src/eap_server
parent9efc3f2a4b3ae03eed552b5a7a7c7826ab5c1c70 (diff)
downloadexternal_wpa_supplicant_8_ti-8d6399e45585c092bd6df93760ea43924df27ddc.zip
external_wpa_supplicant_8_ti-8d6399e45585c092bd6df93760ea43924df27ddc.tar.gz
external_wpa_supplicant_8_ti-8d6399e45585c092bd6df93760ea43924df27ddc.tar.bz2
Use unsigned bitfield for 1-bit values
Diffstat (limited to 'src/eap_server')
-rw-r--r--src/eap_server/eap_server_tnc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eap_server/eap_server_tnc.c b/src/eap_server/eap_server_tnc.c
index b4fd495..aef3078 100644
--- a/src/eap_server/eap_server_tnc.c
+++ b/src/eap_server/eap_server_tnc.c
@@ -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;
};