help the alphas out with the WARNS=2 stuff.

This commit is contained in:
Mark Murray 2001-12-03 12:13:18 +00:00
parent b31463c915
commit 54ab3ed82b
4 changed files with 4 additions and 4 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;

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;