aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-01 16:28:00 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-01 16:28:00 +0000
commitcb72a80fe06d96c46e69a869cceb16b491fcb23b (patch)
treec95265058cb569221325355003ae22710aee141b /lib/url.c
parent71d81f1f7532f80ef57e114e45e93c72aefe9850 (diff)
Use CURL_FORMAT_OFF_T for printf()inf curl_off_t variables.
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/url.c b/lib/url.c
index 8755da82e..b0c12c44f 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2411,7 +2411,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
if(conn->resume_from) {
if(!conn->bits.use_range) {
/* if it already was in use, we just skip this */
- snprintf(resumerange, sizeof(resumerange), "%Od-",
+ snprintf(resumerange, sizeof(resumerange), CURL_FORMAT_OFF_T "-",
conn->resume_from);
conn->range=strdup(resumerange); /* tell ourselves to fetch this range */
conn->bits.rangestringalloc = TRUE; /* mark as allocated */
@@ -2941,7 +2941,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
*/
conn->resume_from = data->set.set_resume_from;
if (conn->resume_from) {
- snprintf(resumerange, sizeof(resumerange), "%Od-",
+ snprintf(resumerange, sizeof(resumerange), CURL_FORMAT_OFF_T "-",
conn->resume_from);
if (conn->bits.rangestringalloc == TRUE)
free(conn->range);