aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-06-30 13:07:05 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-06-30 13:07:05 +0000
commiteb60ba23f57eb51aba371c42a5af1e331514a28f (patch)
treefe6d98d0e3c1acf4978e2f013b73e6f404169608 /lib/url.c
parent69aac49f79999214d2423140258728f8b70e0047 (diff)
- Stephen Collyer and Tor Arntsen helped identify a flaw in the range code
which output the range using a signed variable where it should rather use unsigned.
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index e61ec298c..f1f0c3cd7 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -3118,7 +3118,7 @@ static CURLcode setup_range(struct SessionHandle *data)
free(s->range);
if(s->resume_from)
- s->range = aprintf("%" FORMAT_OFF_T "-", s->resume_from);
+ s->range = aprintf("%" FORMAT_OFF_TU "-", s->resume_from);
else
s->range = strdup(data->set.str[STRING_SET_RANGE]);