From 272231fb09052e97a218d9ea00db57692d59c1de Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 5 Dec 2005 14:10:48 +0000 Subject: Another Yang Tse warning cleanup raid! --- src/main.c | 2 +- src/mkhelp.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main.c b/src/main.c index 4eba7bd7b..c697f6d65 100644 --- a/src/main.c +++ b/src/main.c @@ -363,7 +363,7 @@ struct Configurable { }; #define WARN_PREFIX "Warning: " -#define WARN_TEXTWIDTH (79 - strlen(WARN_PREFIX)) +#define WARN_TEXTWIDTH (79 - (int)strlen(WARN_PREFIX)) /* produce this text message to the user unless mute was selected */ static void warnf(struct Configurable *config, const char *fmt, ...) { diff --git a/src/mkhelp.pl b/src/mkhelp.pl index 318e5986d..6610760bf 100644 --- a/src/mkhelp.pl +++ b/src/mkhelp.pl @@ -156,7 +156,7 @@ void hugehelp(void) return; headerlen = 10; - z.avail_in = sizeof(hugehelpgz) - headerlen; + z.avail_in = (unsigned int)(sizeof(hugehelpgz) - headerlen); z.next_in = (unsigned char *)hugehelpgz + headerlen; z.zalloc = (alloc_func)Z_NULL; z.zfree = (free_func)Z_NULL; -- cgit v1.2.3