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:
Tim Kientzle 2008-03-14 22:44:07 +00:00
parent d6f37be734
commit 871e5c0326

View File

@ -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;