소스 검색

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

cache sync: suppress GCC C90/C99 int literal warning
enkore 8 년 전
부모
커밋
fca40c62ed
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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"
 #include "unpack_define.h"
 
 
 // 2**32 - 1025
 // 2**32 - 1025
-#define _MAX_VALUE ( (uint32_t) 4294966271 )
+#define _MAX_VALUE ( (uint32_t) 4294966271UL )
 
 
 #define MIN(x, y) ((x) < (y) ? (x): (y))
 #define MIN(x, y) ((x) < (y) ? (x): (y))