Since "length" computes the length of a string and is used as an
argument to malloc(3), it should be size_t, not int.
This commit is contained in:
parent
d6f37be734
commit
871e5c0326
@ -1150,7 +1150,7 @@ const wchar_t *
|
||||
archive_entry_acl_text_w(struct archive_entry *entry, int flags)
|
||||
{
|
||||
int count;
|
||||
int length;
|
||||
size_t length;
|
||||
const wchar_t *wname;
|
||||
const wchar_t *prefix;
|
||||
wchar_t separator;
|
||||
|
Loading…
Reference in New Issue
Block a user