diff --git a/simgear/math/beziercurve.hxx b/simgear/math/beziercurve.hxx index b565832b..56545342 100644 --- a/simgear/math/beziercurve.hxx +++ b/simgear/math/beziercurve.hxx @@ -59,7 +59,7 @@ namespace simgear } void setMaxSubdiv( size_t aMaxSubdiv ) { mMaxSubdiv = aMaxSubdiv; } - void getMaxSubdiv() const { return mMaxSubdiv; } + size_t getMaxSubdiv() const { return mMaxSubdiv; } PointList &pointList() { return mPointList; } const PointList &pointList() const { return mPointList; }