mirror of
https://github.com/curl/curl.git
synced 2026-08-01 03:18:04 +03:00
compiler warning fix
This commit is contained in:
parent
8337a375dd
commit
c26ec47e90
4 changed files with 9 additions and 6 deletions
|
|
@ -422,7 +422,8 @@ char *glob_next_url(URLGlob *glob)
|
|||
}
|
||||
break;
|
||||
case UPTCharRange:
|
||||
pat->content.CharRange.ptr_c += (char)(pat->content.CharRange.step);
|
||||
pat->content.CharRange.ptr_c = (char)(pat->content.CharRange.step +
|
||||
(int)((unsigned char)pat->content.CharRange.ptr_c));
|
||||
if (pat->content.CharRange.ptr_c > pat->content.CharRange.max_c) {
|
||||
pat->content.CharRange.ptr_c = pat->content.CharRange.min_c;
|
||||
carry = TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue