Fix integer signedness mismatch on x86_64

Root cause of a malloc() failure when processing large files (>2GB) in an archive.
This commit is contained in:
Kuichi Fujiwara 2020-06-14 05:49:54 +00:00 committed by Natanael Copa
parent d3c93a3d15
commit 6069975f21

View File

@ -58,9 +58,9 @@ static inline int dx(int c)
return -1;
}
static int get_octal(char *s, size_t l)
static size_t get_octal(char *s, size_t l)
{
unsigned int val;
size_t val;
int ch;
val = 0;