Another Yang Tse warning cleanup raid!

This commit is contained in:
Daniel Stenberg 2005-12-05 14:10:48 +00:00
parent 67b4d9b232
commit 272231fb09
5 changed files with 7 additions and 7 deletions

View file

@ -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, ...)
{

View file

@ -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;