libarchive: Use ARCHIVE_LITERAL_ULL to add ULL integer suffix

The macro maps to an implementation that works on older compilers
when necessary.
This commit is contained in:
Brad King 2013-12-09 14:03:43 -05:00
parent 61b39af353
commit 0bff4df5f6
1 changed files with 1 additions and 1 deletions

View File

@ -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;