mirror of
https://github.com/leozide/leocad
synced 2024-11-17 07:47:55 +01:00
Fixed compiler warnings.
This commit is contained in:
parent
602dfeb8b6
commit
207d1158a7
2 changed files with 2 additions and 2 deletions
|
@ -106,7 +106,7 @@ public:
|
|||
return mLength;
|
||||
}
|
||||
|
||||
void SetSize(int NewSize)
|
||||
void SetSize(size_t NewSize)
|
||||
{
|
||||
if (NewSize > mAlloc)
|
||||
AllocGrow(NewSize - mLength);
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue