diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index 9a277aeee..927c32846 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -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) diff --git a/openbsc/include/openbsc/timer.h b/openbsc/include/openbsc/timer.h index a1ad92cfc..fee888bfd 100644 --- a/openbsc/include/openbsc/timer.h +++ b/openbsc/include/openbsc/timer.h @@ -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;