mirror of
https://github.com/curl/curl.git
synced 2026-07-28 11:23:12 +03:00
prevent compiler warning
This commit is contained in:
parent
d4714517c0
commit
0f125d9bcf
1 changed files with 1 additions and 1 deletions
|
|
@ -1499,7 +1499,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||
curl_off_t value = curlx_strtoofft(nextarg, &unit, 0);
|
||||
|
||||
if(strlen(unit) != 1)
|
||||
unit="w"; /* unsupported */
|
||||
unit=(char *)"w"; /* unsupported */
|
||||
|
||||
switch(*unit) {
|
||||
case 'G':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue