aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-02-01 15:36:56 +0000
committerYang Tse <yangsita@gmail.com>2007-02-01 15:36:56 +0000
commitd2dd3d7e16fcebdb34d41c944c5a5aef0d0d8bcf (patch)
treec3e413a5019a6f812a9bf6c37153e933f36529ed /src
parent1c63ceb317f8bed76edeb63df4d77986f60c8710 (diff)
compiler warning fix
Diffstat (limited to 'src')
-rw-r--r--src/urlglob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/urlglob.c b/src/urlglob.c
index ba4fb1eae..214c5c984 100644
--- a/src/urlglob.c
+++ b/src/urlglob.c
@@ -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;