mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-07 13:15:04 -06:00
21.07
This commit is contained in:
@@ -1436,7 +1436,7 @@ UString CCompressDialog::GetMethodSpec(UString &estimatedName)
|
||||
UString s;
|
||||
if (methodId >= 0)
|
||||
{
|
||||
if (methodId < ARRAY_SIZE(kMethodsNames))
|
||||
if ((unsigned)methodId < ARRAY_SIZE(kMethodsNames))
|
||||
estimatedName = kMethodsNames[methodId];
|
||||
else
|
||||
estimatedName = ExternalMethods[methodId - ARRAY_SIZE(kMethodsNames)];
|
||||
|
||||
Reference in New Issue
Block a user