From 00d9db0314ef32082c034cf63bfb457f16770acb Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Mon, 10 Jan 2005 11:12:36 +0000 Subject: [PATCH] Cast unsigned variables to int --- usr.sbin/ppp/route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/ppp/route.c b/usr.sbin/ppp/route.c index 375670ef709..fdc60020e5d 100644 --- a/usr.sbin/ppp/route.c +++ b/usr.sbin/ppp/route.c @@ -196,7 +196,7 @@ p_flags(struct prompt *prompt, u_int32_t f, unsigned max) if (p->b_mask & f) *flags++ = p->b_val; *flags = '\0'; - prompt_Printf(prompt, "%-*.*s", max, max, name); + prompt_Printf(prompt, "%-*.*s", (int)max, (int)max, name); } static int route_nifs = -1;