misc: Make bitfields unsigned int...
There is no use to have a signed bit in bitfields..
This commit is contained in:
parent
100fe56930
commit
251aa918da
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue