aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-12-05 14:10:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-12-05 14:10:48 +0000
commit272231fb09052e97a218d9ea00db57692d59c1de (patch)
treeea9eaa8fcbbd463489490a51052d6d7572ce1539 /src
parent67b4d9b232923ec2ba5bbb2f929254cf95e953db (diff)
Another Yang Tse warning cleanup raid!
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
-rw-r--r--src/mkhelp.pl2
2 files changed, 2 insertions, 2 deletions
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;