|
@@ -280,7 +280,7 @@ void __fastcall TFileMasks::Init()
|
|
|
//---------------------------------------------------------------------------
|
|
|
void __fastcall TFileMasks::DoInit(bool Delete)
|
|
|
{
|
|
|
- for (int Index = 0; Index < 4; Index++)
|
|
|
+ for (size_t Index = 0; Index < LENOF(FMasksStr); Index++)
|
|
|
{
|
|
|
if (Delete)
|
|
|
{
|
|
@@ -294,7 +294,7 @@ void __fastcall TFileMasks::Clear()
|
|
|
{
|
|
|
DoInit(true);
|
|
|
|
|
|
- for (int Index = 0; Index < 4; Index++)
|
|
|
+ for (size_t Index = 0; Index < LENOF(FMasks); Index++)
|
|
|
{
|
|
|
Clear(FMasks[Index]);
|
|
|
}
|