summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2005-01-10 11:12:36 +0000
committerbrian <brian@FreeBSD.org>2005-01-10 11:12:36 +0000
commit48fd8924bbb73844a4b5701edd5fce439eb8af97 (patch)
tree65abff223b253fa1414d6a60519f6c3cc5e1e95e /usr.sbin
parentbd90e346ec6eda769f4949b74013dff121836adf (diff)
downloadFreeBSD-src-48fd8924bbb73844a4b5701edd5fce439eb8af97.zip
FreeBSD-src-48fd8924bbb73844a4b5701edd5fce439eb8af97.tar.gz
Cast unsigned variables to int
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ppp/route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/route.c b/usr.sbin/ppp/route.c
index 375670e..fdc6002 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;
OpenPOWER on IntegriCloud