summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/vjcomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ppp/vjcomp.c')
-rw-r--r--usr.sbin/ppp/vjcomp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/vjcomp.c b/usr.sbin/ppp/vjcomp.c
index 74e4371552db..1445bbd568ab 100644
--- a/usr.sbin/ppp/vjcomp.c
+++ b/usr.sbin/ppp/vjcomp.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: vjcomp.c,v 1.13 1997/11/22 03:37:54 brian Exp $
+ * $Id: vjcomp.c,v 1.14 1997/12/03 10:23:54 brian Exp $
*
* TODO:
*/
@@ -155,11 +155,11 @@ VjCompInput(struct mbuf * bp, int proto)
}
const char *
-vj2asc(u_long val)
+vj2asc(u_int32_t val)
{
static char asc[50];
- sprintf(asc, "%ld VJ slots %s slot compression",
- ((val>>8)&15)+1, val & 1 ? "with" : "without");
+ sprintf(asc, "%d VJ slots %s slot compression",
+ (int)((val>>8)&15)+1, val & 1 ? "with" : "without");
return asc;
}