1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-20 21:27:32 +00:00

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.
This commit is contained in:
Marian Beermann 2017-06-12 10:53:55 +02:00
parent 99b28a005a
commit 78cbf695c4

View file

@ -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))