1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

typecasted the argument to isspace() to int, to remove a pedantic compiler

warning
This commit is contained in:
Daniel Stenberg 2000-11-21 09:31:03 +00:00
parent 59693250c4
commit 9a9013ac25

View File

@ -455,7 +455,7 @@ CURLcode http(struct connectdata *conn)
/* we require a colon for this to be a true header */
ptr++; /* pass the colon */
while(*ptr && isspace(*ptr))
while(*ptr && isspace((int)*ptr))
ptr++;
if(*ptr) {