Cast unsigned variables to int

This commit is contained in:
Brian Somers 2005-01-10 11:12:36 +00:00
parent 50be714be3
commit 00d9db0314
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=139978

View File

@ -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;