Fixed compiler warnings.

This commit is contained in:
Leonardo Zide 2019-05-21 14:17:51 -07:00
parent 602dfeb8b6
commit 207d1158a7
2 changed files with 2 additions and 2 deletions

View file

@ -106,7 +106,7 @@ public:
return mLength;
}
void SetSize(int NewSize)
void SetSize(size_t NewSize)
{
if (NewSize > mAlloc)
AllocGrow(NewSize - mLength);

View file

@ -82,7 +82,7 @@ lcQPropertiesDialog::lcQPropertiesDialog(QWidget *parent, void *data) :
std::vector<int> InfoTotals(PartsList.size());
std::vector<int> ColorTotals(NumColors);
int Row = 0, Total = 0;
size_t Row = 0, Total = 0;
for (const auto& PartIt : PartsList)
{