A new user interface for you! Read more...

File libs3-format.patch of Package libs3

From 940eb79c52c65f01f9048caff1908b7775248a9f Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@fysast.uu.se>
Date: Wed, 23 Sep 2015 06:18:24 +0200
Subject: [PATCH] Fix compilation on 32 bit archs

---
 src/s3.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/s3.c b/src/s3.c
index 0026a6b..d225556 100644
--- a/src/s3.c
+++ b/src/s3.c
@@ -767,7 +767,7 @@ static S3Status responsePropertiesCallback
     print_nonnull("Request-Id", requestId);
     print_nonnull("Request-Id-2", requestId2);
     if (properties->contentLength > 0) {
-        printf("Content-Length: %lld\n", 
+        printf("Content-Length: %llu\n",
                (unsigned long long) properties->contentLength);
     }
     print_nonnull("Server", server);
@@ -1610,10 +1610,9 @@ static S3Status listPartsCallback(int isTruncated,
             strftime(timebuf, sizeof(timebuf), "%Y-%m-%dT%H:%M:%SZ",
                      gmtime(&t));
             printf("%-30s", timebuf);
-            printf("%-15lu", part->partNumber);            
-            printf("%-45s", part->eTag);            
-            printf("%-15lu\n", part->size);
-
+            printf("%-15llu", (unsigned long long) part->partNumber);
+            printf("%-45s", part->eTag);
+            printf("%-15llu\n", (unsigned long long) part->size);
         }
     }
 
-- 
2.4.3