mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 20:15:03 -05:00
typecasted the argument to isspace() to int, to remove a pedantic compiler
warning
This commit is contained in:
parent
59693250c4
commit
9a9013ac25
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user