summaryrefslogtreecommitdiff
path: root/accel-pppd/radius
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/radius')
-rw-r--r--accel-pppd/radius/radius.h2
-rw-r--r--accel-pppd/radius/radius_p.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/radius/radius.h b/accel-pppd/radius/radius.h
index 6ca94fb0..b529acde 100644
--- a/accel-pppd/radius/radius.h
+++ b/accel-pppd/radius/radius.h
@@ -79,7 +79,7 @@ struct rad_dict_attr_t
struct list_head entry;
const char *name;
int id;
- int type:30;
+ unsigned int type:30;
unsigned int array:1;
int size;
struct list_head values;
diff --git a/accel-pppd/radius/radius_p.h b/accel-pppd/radius/radius_p.h
index 14c1fb2f..d992c13e 100644
--- a/accel-pppd/radius/radius_p.h
+++ b/accel-pppd/radius/radius_p.h
@@ -46,7 +46,7 @@ struct radius_pd_t {
struct ap_private pd;
struct ap_session *ses;
pthread_mutex_t lock;
- int refs:8;
+ unsigned int refs:8;
unsigned int authenticated:1;
unsigned int acct_started:1;
unsigned int ipv6_dp_assigned:1;