From 07686034efec92c75547def958ae618754e15013 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 9 Dec 2013 14:03:43 -0500 Subject: [PATCH] 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. --- libarchive/archive_read_support_format_tar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libarchive/archive_read_support_format_tar.c b/libarchive/archive_read_support_format_tar.c index 8bd22c7e8..a59a30118 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; -- 2.47.2