mirror of
https://github.com/sheumann/telnetd.git
synced 2024-10-31 12:04:35 +00:00
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:
parent
a88d48b9df
commit
0efd3a3530
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user