+ fix compiler warnings

This commit is contained in:
wmayer
2016-03-19 10:12:04 +01:00
parent 5f45a464b8
commit f88eeed6eb
2 changed files with 45 additions and 46 deletions

View File

@@ -421,7 +421,7 @@ ImageTriangulation::ImageTriangulation(int width, int height, const Points::Poin
void ImageTriangulation::perform()
{
if (myPoints.size() != width * height)
if (myPoints.size() != static_cast<std::size_t>(width * height))
throw Base::RuntimeError("Number of points doesn't match with given width and height");
//construct dataset