summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-12-09 19:03:43 (GMT)
committerBrad King <brad.king@kitware.com>2013-12-09 19:04:24 (GMT)
commit0bff4df5f64372260fc4cd0f648f5a19310141a0 (patch)
treeb0a51ef2ff2523fdd4165615704644bd4ce57d5b /Utilities/cmlibarchive
parent61b39af353c401e1c188ab33c23ee06698f4fc30 (diff)
downloadCMake-0bff4df5f64372260fc4cd0f648f5a19310141a0.zip
CMake-0bff4df5f64372260fc4cd0f648f5a19310141a0.tar.gz
CMake-0bff4df5f64372260fc4cd0f648f5a19310141a0.tar.bz2
libarchive: Use ARCHIVE_LITERAL_ULL to add ULL integer suffix
The macro maps to an implementation that works on older compilers when necessary.
Diffstat (limited to 'Utilities/cmlibarchive')
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_read_support_format_tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_read_support_format_tar.c b/Utilities/cmlibarchive/libarchive/archive_read_support_format_tar.c
index bb9d533..c7c808f 100644
--- a/Utilities/cmlibarchive/libarchive/archive_read_support_format_tar.c
+++ b/Utilities/cmlibarchive/libarchive/archive_read_support_format_tar.c
@@ -2487,7 +2487,7 @@ tar_atol256(const char *_p, size_t char_cnt)
if (c & 0x40) {
neg = 0xff;
c |= 0x80;
- l = ~0ULL;
+ l = ~ARCHIVE_LITERAL_ULL(0);
} else {
neg = 0;
c &= 0x7f;