fixed 2 compilation warnings

This commit is contained in:
matlabbe
2016-09-09 15:10:19 -04:00
parent d6f9f29835
commit 94a4fb4579
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ std::list<std::list<int> > clusterPolygons(
}
}
}
if(currentCluster.size() > minClusterSize)
if((int)currentCluster.size() > minClusterSize)
{
clusters.push_back(currentCluster);
}
+1 -1
View File
@@ -1177,7 +1177,7 @@ bool ExportCloudsDialog::getExportedClouds(
for(int i=0; i<nPoints; ++i)
{
//uv
UASSERT(i < oter->second.size());
UASSERT(i < (int)oter->second.size());
int originalVertex = oter->second[i];
textureMesh->tex_coordinates[0][i] = Eigen::Vector2f(
float(originalVertex % w) / float(w), // u