--- libaitwww/src/mime.c 2012/07/31 22:59:33 1.3.4.2 +++ libaitwww/src/mime.c 2012/07/31 23:08:40 1.3.4.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: mime.c,v 1.3.4.2 2012/07/31 22:59:33 misho Exp $ +* $Id: mime.c,v 1.3.4.3 2012/07/31 23:08:40 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -675,7 +675,7 @@ mime_calcRawSize(struct tagMIME * __restrict m) if (!s) return m->mime_body.iov_len; /* strip whitespaces */ - while (isspace(*s)) + while (isspace((int) *s)) s++; t = strchr(s, ';'); len = t ? strlen(s) : t - s; @@ -726,7 +726,7 @@ mime_getRawData(struct tagMIME * __restrict m, char * } /* strip whitespaces */ - while (isspace(*s)) + while (isspace((int) *s)) s++; t = strchr(s, ';'); len = t ? strlen(s) : t - s;