From 83785f0ebcad58157bb7d866037664ab95563f48 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 10 Aug 2012 00:36:07 +0200 Subject: Apply post-1.20.1 patches, bump version to 1.20.2 Signed-off-by: Denys Vlasenko --- archival/libarchive/get_header_tar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archival') diff --git a/archival/libarchive/get_header_tar.c b/archival/libarchive/get_header_tar.c index 80a709144..b168653d8 100644 --- a/archival/libarchive/get_header_tar.c +++ b/archival/libarchive/get_header_tar.c @@ -84,7 +84,7 @@ static unsigned long long getOctal(char *str, int len) first >>= 1; /* now 7th bit = 6th bit */ v = first; /* sign-extend 8 bits to 64 */ while (--len != 0) - v = (v << 8) + (unsigned char) *str++; + v = (v << 8) + (uint8_t) *++str; } return v; } -- cgit v1.2.3-55-g6feb