mirror of
https://github.com/curl/curl.git
synced 2026-06-05 11:04:16 +03:00
compiler warning fix
This commit is contained in:
parent
1c63ceb317
commit
d2dd3d7e16
5 changed files with 11 additions and 9 deletions
|
|
@ -5,7 +5,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 1998 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
*
|
||||
* This software is licensed as described in the file COPYING, which
|
||||
* you should have received as part of this distribution. The terms
|
||||
|
|
@ -422,7 +422,7 @@ char *glob_next_url(URLGlob *glob)
|
|||
}
|
||||
break;
|
||||
case UPTCharRange:
|
||||
pat->content.CharRange.ptr_c += pat->content.CharRange.step;
|
||||
pat->content.CharRange.ptr_c += (char)(pat->content.CharRange.step);
|
||||
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