diff options
author | Brad King <brad.king@kitware.com> | 2013-12-09 14:03:43 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-12-09 14:09:16 -0500 |
commit | 07686034efec92c75547def958ae618754e15013 (patch) | |
tree | a16b3970c18ab5b020203614b7c1c21ef6b9eb2f /libarchive/archive_read_support_format_tar.c | |
parent | a5a9a6a19bfc013a72914c9c22c87bcfeed80ee9 (diff) | |
download | libarchive-07686034efec92c75547def958ae618754e15013.tar.gz |
libarchive: Use ARCHIVE_LITERAL_ULL to add ULL integer suffix
The macro maps to an implementation that works on older compilers when
necessary. Convert the 0ULL literal introduced by commit 6cf33c93
(Issue 320: Rewrite (again) to avoid the left shift that CLang dislikes
so much, 2013-12-07) to use the macro.
Diffstat (limited to 'libarchive/archive_read_support_format_tar.c')
-rw-r--r-- | libarchive/archive_read_support_format_tar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/archive_read_support_format_tar.c b/libarchive/archive_read_support_format_tar.c index 8bd22c7e..a59a3011 100644 --- a/libarchive/archive_read_support_format_tar.c +++ b/libarchive/archive_read_support_format_tar.c @@ -2489,7 +2489,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; |