help the alphas out with the WARNS=2 stuff.

git-svn-id: http://svn0.us-east.freebsd.org/base/head/contrib/telnet@87266 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
This commit is contained in:
markm 2001-12-03 12:13:18 +00:00
parent a88d48b9df
commit 0efd3a3530
2 changed files with 2 additions and 2 deletions

View File

@ -511,7 +511,7 @@ auth_name(unsigned char *data, int cnt)
if ((size_t)cnt > sizeof(savename) - 1) {
if (auth_debug_mode)
printf(">>>%s: Name in NAME (%d) exceeds %d length\r\n",
Name, cnt, sizeof(savename)-1);
Name, cnt, (u_int)sizeof(savename)-1);
return;
}
memmove((void *)savename, (void *)data, cnt);

View File

@ -2672,7 +2672,7 @@ help(int argc, char *argv[])
printf("Commands may be abbreviated. Commands are:\n\n");
for (c = cmdtab; c->name; c++)
if (c->help) {
printf("%-*s\t%s\n", HELPINDENT, c->name,
printf("%-*s\t%s\n", (int)HELPINDENT, c->name,
c->help);
}
return 0;