fixed more warnings in rtgui (reported by gcc but not clang)

This commit is contained in:
Alberto Griggio
2017-04-01 16:43:32 +02:00
parent a3561049ed
commit 27e822fdae
14 changed files with 34 additions and 34 deletions

View File

@@ -175,7 +175,7 @@ bool MyCurve::snapCoordinateY(double testedVal, double realVal)
float MyCurve::getVal(LUTf &curve, int x)
{
if ((graphW - 2) == curve.getSize()) {
if (size_t(graphW - 2) == curve.getSize()) {
return curve[x];
} else {
return curve.getVal01(float(x) / (graphW - 3));