From 78cbf695c4430286283ca5f468e4a758aa2666cd Mon Sep 17 00:00:00 2001 From: Marian Beermann Date: Mon, 12 Jun 2017 10:53:55 +0200 Subject: [PATCH] cache sync: suppress GCC C90/C99 int literal warning warning: this decimal constant is unsigned only in ISO C90 Raised by GCC 4.9.2 on PowerPC. The warning is bogus here due to the immediate explicit cast; newer versions don't emit it. --- src/borg/cache_sync/unpack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/borg/cache_sync/unpack.h b/src/borg/cache_sync/unpack.h index d33802635..4a0ba1d41 100644 --- a/src/borg/cache_sync/unpack.h +++ b/src/borg/cache_sync/unpack.h @@ -26,7 +26,7 @@ #include "unpack_define.h" // 2**32 - 1025 -#define _MAX_VALUE ( (uint32_t) 4294966271 ) +#define _MAX_VALUE ( (uint32_t) 4294966271UL ) #define MIN(x, y) ((x) < (y) ? (x): (y))