misc: Make bitfields unsigned int...

There is no use to have a signed bit in bitfields..
This commit is contained in:
Holger Hans Peter Freyther 2009-10-27 10:42:28 +01:00
parent 100fe56930
commit 251aa918da
2 changed files with 5 additions and 5 deletions

View File

@ -124,8 +124,8 @@ struct gsm_nm_state {
*/
struct gsm_loc_updating_operation {
struct timer_list updating_timer;
int waiting_for_imsi : 1;
int waiting_for_imei : 1;
unsigned int waiting_for_imsi : 1;
unsigned int waiting_for_imei : 1;
};
#define MAX_A5_KEY_LEN (128/8)

View File

@ -44,9 +44,9 @@
struct timer_list {
struct llist_head entry;
struct timeval timeout;
int active : 1;
int handled : 1;
int in_list : 1;
unsigned int active : 1;
unsigned int handled : 1;
unsigned int in_list : 1;
void (*cb)(void*);
void *data;