aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2010-05-29 12:26:17 +0200
committerKamil Dudka <kdudka@redhat.com>2010-05-29 21:23:18 +0200
commit35955179c6c3935e9b876090e29bb90c5740838f (patch)
tree820bd6a1a1916f85dabf31960a90d76830560a65 /tests
parentb1c1b9bb76e01900de6ffd7e173eec3d2c65a310 (diff)
CURL_LLONG_MAX: avoid constant overflow
... when (CURL_SIZEOF_CURL_OFF_T == 4)
Diffstat (limited to 'tests')
-rw-r--r--tests/libtest/lib576.c2
1 files changed, 1 insertions, 1 deletions
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)