summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2009-01-31 21:28:41 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2009-01-31 21:28:41 +0000
commit6ab50f95eb9bf5510426693060ad76c7269915bd (patch)
tree74ec4e1d3b7d3c7cdb44c6ae86ba1877145f6954 /sys
parentfb8520075e527e0a5a87ff01c0d7ae71c65894b9 (diff)
u_char is not compatible with default argument promotion type thus
can't be used with va_start. change it to u_int. ok miod@
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if_spppsubr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index 73565670bd1..1f9f387a389 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_spppsubr.c,v 1.70 2008/06/09 07:07:16 djm Exp $ */
+/* $OpenBSD: if_spppsubr.c,v 1.71 2009/01/31 21:28:40 grange Exp $ */
/*
* Synchronous PPP/Cisco link level subroutines.
* Keepalive protocol implemented in both Cisco and PPP modes.
@@ -307,7 +307,7 @@ HIDE void sppp_cp_timeout(void *arg);
HIDE void sppp_cp_change_state(const struct cp *cp, struct sppp *sp,
int newstate);
HIDE void sppp_auth_send(const struct cp *cp,
- struct sppp *sp, unsigned int type, u_char id,
+ struct sppp *sp, unsigned int type, u_int id,
...);
HIDE void sppp_up_event(const struct cp *cp, struct sppp *sp);
@@ -4407,7 +4407,7 @@ sppp_pap_scr(struct sppp *sp)
HIDE void
sppp_auth_send(const struct cp *cp, struct sppp *sp,
- unsigned int type, u_char id, ...)
+ unsigned int type, u_int id, ...)
{
STDDCL;
struct ppp_header *h;