Browse Source

Merge pull request #2666 from enkore/f/fcs-gccwarn

cache sync: suppress GCC C90/C99 int literal warning
enkore 8 years ago
parent
commit
fca40c62ed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/borg/cache_sync/unpack.h

+ 1 - 1
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))