diff options
author | markm <markm@FreeBSD.org> | 2001-12-03 12:13:18 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-12-03 12:13:18 +0000 |
commit | 7138baa87dbcf2f133ee99c501eef74f6cec30ce (patch) | |
tree | 98ffd20d930e04cc825a4d929187ed58683353b8 | |
parent | 462671a6089ed33e6e260739e4ba68c935d95653 (diff) | |
download | FreeBSD-src-7138baa87dbcf2f133ee99c501eef74f6cec30ce.zip FreeBSD-src-7138baa87dbcf2f133ee99c501eef74f6cec30ce.tar.gz |
help the alphas out with the WARNS=2 stuff.
-rw-r--r-- | contrib/telnet/libtelnet/auth.c | 2 | ||||
-rw-r--r-- | contrib/telnet/telnet/commands.c | 2 | ||||
-rw-r--r-- | crypto/telnet/libtelnet/auth.c | 2 | ||||
-rw-r--r-- | crypto/telnet/telnet/commands.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/contrib/telnet/libtelnet/auth.c b/contrib/telnet/libtelnet/auth.c index 79d985d..1f61c3e 100644 --- a/contrib/telnet/libtelnet/auth.c +++ b/contrib/telnet/libtelnet/auth.c @@ -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); diff --git a/contrib/telnet/telnet/commands.c b/contrib/telnet/telnet/commands.c index dd14487..f4f45b2 100644 --- a/contrib/telnet/telnet/commands.c +++ b/contrib/telnet/telnet/commands.c @@ -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; diff --git a/crypto/telnet/libtelnet/auth.c b/crypto/telnet/libtelnet/auth.c index 79d985d..1f61c3e 100644 --- a/crypto/telnet/libtelnet/auth.c +++ b/crypto/telnet/libtelnet/auth.c @@ -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); diff --git a/crypto/telnet/telnet/commands.c b/crypto/telnet/telnet/commands.c index dd14487..f4f45b2 100644 --- a/crypto/telnet/telnet/commands.c +++ b/crypto/telnet/telnet/commands.c @@ -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; |