diff options
author | Yang Tse <yangsita@gmail.com> | 2007-02-02 17:16:06 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-02-02 17:16:06 +0000 |
commit | c26ec47e907e3707bdc94f116c0fcb2ba10fdb8c (patch) | |
tree | adb1b68a0969dcad53533ce38b0477f650ca30f3 /src | |
parent | 8337a375dd5bbe6b1dab4b711a5fdbc1664cb298 (diff) |
compiler warning fix
Diffstat (limited to 'src')
-rw-r--r-- | src/urlglob.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/urlglob.c b/src/urlglob.c index 214c5c984..4dbd2ba2c 100644 --- a/src/urlglob.c +++ b/src/urlglob.c @@ -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; |