mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-03-11 06:37:31 +00:00
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:
parent
d3c93a3d15
commit
6069975f21
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user