mirror of
https://github.com/curl/curl.git
synced 2026-08-25 12:53:33 +03:00
Fix compiler warning
This commit is contained in:
parent
a137109a0c
commit
048bfeaaef
2 changed files with 2 additions and 2 deletions
|
|
@ -2884,7 +2884,7 @@ static CURLcode setup_range(struct SessionHandle *data)
|
|||
else
|
||||
req->range = strdup(data->set.str[STRING_SET_RANGE]);
|
||||
|
||||
req->rangestringalloc = req->range?TRUE:FALSE;
|
||||
req->rangestringalloc = (unsigned char)(req->range?TRUE:FALSE);
|
||||
|
||||
if(!req->range)
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue