From 2b8f40e505b40b2c6fcb8a0e113b22f25cad155b Mon Sep 17 00:00:00 2001 From: matlabbe Date: Mon, 16 Jan 2017 11:21:40 -0500 Subject: [PATCH] fixed compilation warnings --- guilib/src/ExportCloudsDialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/guilib/src/ExportCloudsDialog.cpp b/guilib/src/ExportCloudsDialog.cpp index cc18025d..e33d75ae 100644 --- a/guilib/src/ExportCloudsDialog.cpp +++ b/guilib/src/ExportCloudsDialog.cpp @@ -1205,7 +1205,7 @@ bool ExportCloudsDialog::getExportedClouds( if(_ui->doubleSpinBox_meshDecimationFactor->isEnabled() && _ui->doubleSpinBox_meshDecimationFactor->value() > 0.0) { - int count = mesh->polygons.size(); + unsigned int count = mesh->polygons.size(); _progressDialog->appendText(tr("Mesh decimation (factor=%1) from %2 polygons...").arg(_ui->doubleSpinBox_meshDecimationFactor->value()).arg(count)); QApplication::processEvents(); @@ -1312,7 +1312,7 @@ bool ExportCloudsDialog::getExportedClouds( if(_ui->doubleSpinBox_meshDecimationFactor->isEnabled() && _ui->doubleSpinBox_meshDecimationFactor->value() > 0.0) { - int count = mesh->polygons.size(); + unsigned int count = mesh->polygons.size(); _progressDialog->appendText(tr("Mesh decimation (factor=%1) from %2 polygons...").arg(_ui->doubleSpinBox_meshDecimationFactor->value()).arg(count)); QApplication::processEvents(); @@ -1643,7 +1643,7 @@ bool ExportCloudsDialog::getExportedClouds( } // for each texture - int allPolygonsIndex = 0; + unsigned int allPolygonsIndex = 0; for(unsigned int t=0; ttex_polygons.size(); ++t) { UASSERT(allPolygonsIndex < allPolygons.size());