Fix VC2005 warning in F7ZFile::Open

This commit is contained in:
Randy Heit 2014-07-28 21:03:41 -05:00
parent 4c6edd5e58
commit 7280d278d9

View file

@ -289,8 +289,8 @@ bool F7ZFile::Open(bool quiet)
continue;
}
nameUTF16.Resize(nameLength);
nameASCII.Resize(nameLength);
nameUTF16.Resize((unsigned)nameLength);
nameASCII.Resize((unsigned)nameLength);
SzArEx_GetFileNameUtf16(&Archive->DB, i, &nameUTF16[0]);
for (size_t c = 0; c < nameLength; ++c)
{