From a5a9a6a19bfc013a72914c9c22c87bcfeed80ee9 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sat, 7 Dec 2013 14:56:38 -0800 Subject: [PATCH] Fix tabs. --- libarchive/archive_read_support_format_tar.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libarchive/archive_read_support_format_tar.c b/libarchive/archive_read_support_format_tar.c index c5b8fd99d..8bd22c7e8 100644 --- a/libarchive/archive_read_support_format_tar.c +++ b/libarchive/archive_read_support_format_tar.c @@ -2480,8 +2480,8 @@ tar_atol10(const char *p, size_t char_cnt) static int64_t tar_atol256(const char *_p, size_t char_cnt) { - uint64_t l; - const unsigned char *p = (const unsigned char *)_p; + uint64_t l; + const unsigned char *p = (const unsigned char *)_p; unsigned char c, neg; /* Extend 7-bit 2s-comp to 8-bit 2s-comp, decide sign. */ @@ -2489,11 +2489,11 @@ tar_atol256(const char *_p, size_t char_cnt) if (c & 0x40) { neg = 0xff; c |= 0x80; - l = ~0ULL; + l = ~0ULL; } else { neg = 0; c &= 0x7f; - l = 0; + l = 0; } /* If more than 8 bytes, check that we can ignore @@ -2511,13 +2511,13 @@ tar_atol256(const char *_p, size_t char_cnt) } /* Accumulate remaining bytes. */ - while (--char_cnt > 0) { - l = (l << 8) | c; + while (--char_cnt > 0) { + l = (l << 8) | c; c = *++p; - } + } l = (l << 8) | c; /* Return signed twos-complement value. */ - return (int64_t)(l); + return (int64_t)(l); } /* -- 2.47.2