From 35955179c6c3935e9b876090e29bb90c5740838f Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Sat, 29 May 2010 12:26:17 +0200 Subject: CURL_LLONG_MAX: avoid constant overflow ... when (CURL_SIZEOF_CURL_OFF_T == 4) --- tests/libtest/lib576.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/libtest/lib576.c b/tests/libtest/lib576.c index 7f2c7ae37..10857f6b7 100644 --- a/tests/libtest/lib576.c +++ b/tests/libtest/lib576.c @@ -33,7 +33,7 @@ long chunk_bgn(const struct curl_fileinfo *finfo, void *ptr, int remains) printf(" (parsed => %o)", finfo->perm); printf("\n"); } - printf("Size: %lldB\n", (long long int)finfo->size); + printf("Size: %ldB\n", (long)finfo->size); if(finfo->strings.user) printf("User: %s\n", finfo->strings.user); if(finfo->strings.group) -- cgit v1.2.3