diff options
author | Vladislav Grishenko <themiron@mail.ru> | 2021-03-20 19:20:34 +0500 |
---|---|---|
committer | Vladislav Grishenko <themiron@mail.ru> | 2021-03-20 19:21:47 +0500 |
commit | 44a526ab7de382f2ea0295c88a6024960cabca77 (patch) | |
tree | 42b71e5a33f27b124905bdbeebb8062ee164610f /accel-pppd | |
parent | 62f7740033f05053a581e864742575a46ccc6da2 (diff) | |
download | accel-ppp-44a526ab7de382f2ea0295c88a6024960cabca77.tar.gz accel-ppp-44a526ab7de382f2ea0295c88a6024960cabca77.zip |
Fix unsigned bitfileds leftovers after 62f7740033f05053a581e864742575a46ccc6da2
Diffstat (limited to 'accel-pppd')
-rw-r--r-- | accel-pppd/include/ap_session.h | 2 | ||||
-rw-r--r-- | accel-pppd/radius/radius.h | 2 | ||||
-rw-r--r-- | accel-pppd/radius/radius_p.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/accel-pppd/include/ap_session.h b/accel-pppd/include/ap_session.h index a48b860..7efa110 100644 --- a/accel-pppd/include/ap_session.h +++ b/accel-pppd/include/ap_session.h @@ -53,7 +53,7 @@ struct ap_ctrl { char *called_station_id; unsigned int dont_ifcfg:1; unsigned int ppp:1; - int ppp_npmode:2; + unsigned int ppp_npmode:2; void (*started)(struct ap_session*); void (*finished)(struct ap_session *); int (*terminate)(struct ap_session *, int hard); diff --git a/accel-pppd/radius/radius.h b/accel-pppd/radius/radius.h index 6ca94fb..b529acd 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 14c1fb2..d992c13 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; |