aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-25 15:41:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-25 15:41:36 +0000
commit37817667e2d633ef8121236da114db6c0ce30a60 (patch)
tree71a33c93e8fde40859b2daaeb215314b347b93c8 /src
parentf9b2b7940e1498413e341a04fac6989538d465dd (diff)
use %ld when printfing longs
Diffstat (limited to 'src')
-rw-r--r--src/writeout.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/writeout.c b/src/writeout.c
index a92dab715..6190c86c4 100644
--- a/src/writeout.c
+++ b/src/writeout.c
@@ -119,17 +119,17 @@ void ourWriteOut(CURL *curl, char *writeinfo)
case VAR_HTTP_CODE:
if(CURLE_OK ==
curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &longinfo))
- fprintf(stream, "%03d", longinfo);
+ fprintf(stream, "%03ld", longinfo);
break;
case VAR_HEADER_SIZE:
if(CURLE_OK ==
curl_easy_getinfo(curl, CURLINFO_HEADER_SIZE, &longinfo))
- fprintf(stream, "%d", longinfo);
+ fprintf(stream, "%ld", longinfo);
break;
case VAR_REQUEST_SIZE:
if(CURLE_OK ==
curl_easy_getinfo(curl, CURLINFO_REQUEST_SIZE, &longinfo))
- fprintf(stream, "%d", longinfo);
+ fprintf(stream, "%ld", longinfo);
break;
case VAR_TOTAL_TIME:
if(CURLE_OK ==