some type clearification

This commit is contained in:
jriegel
2014-08-21 17:59:17 +02:00
parent 0e53a593db
commit d65a4e4ed7
6 changed files with 23 additions and 23 deletions

View File

@@ -1871,7 +1871,7 @@ int Sketch::setDatum(int constrId, double value)
int Sketch::getPointId(int geoId, PointPos pos) const
{
// do a range check first
if (geoId < 0 || geoId >= Geoms.size())
if (geoId < 0 || geoId >= (int)Geoms.size())
return -1;
switch (pos) {
case start: