diff options
Diffstat (limited to 'accel-pppd/extra')
-rw-r--r-- | accel-pppd/extra/ippool.c | 2 | ||||
-rw-r--r-- | accel-pppd/extra/pppd_compat.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/accel-pppd/extra/ippool.c b/accel-pppd/extra/ippool.c index 2ca8b6f6..00f22f1f 100644 --- a/accel-pppd/extra/ippool.c +++ b/accel-pppd/extra/ippool.c @@ -206,7 +206,7 @@ static void generate_pool_p2p(struct ippool_t *p) struct ippool_item_t *it; struct ipaddr_t *addr = NULL; struct ipaddr_t *peer_addr; - struct list_head *pos, *pos1 = p->tunnel_list.next, *pos2 = p->tunnel_list.prev; + struct list_head *pos = NULL, *pos1 = p->tunnel_list.next, *pos2 = p->tunnel_list.prev; uint8_t r, t = 0; while (1) { diff --git a/accel-pppd/extra/pppd_compat.c b/accel-pppd/extra/pppd_compat.c index 421c5980..663e545f 100644 --- a/accel-pppd/extra/pppd_compat.c +++ b/accel-pppd/extra/pppd_compat.c @@ -56,9 +56,9 @@ struct pppd_compat_pd struct sigchld_handler_t ip_up_hnd; #ifdef RADIUS char *tmp_fname; - int radattr_saved:1; + unsigned int radattr_saved:1; #endif - int started:1; + unsigned int started:1; int res; in_addr_t ipv4_addr; in_addr_t ipv4_peer_addr; |