summaryrefslogtreecommitdiff
path: root/src/utils/mathutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/mathutils.h')
-rw-r--r--src/utils/mathutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/mathutils.h b/src/utils/mathutils.h
index 60f96729d..caed0d2f8 100644
--- a/src/utils/mathutils.h
+++ b/src/utils/mathutils.h
@@ -119,7 +119,7 @@ inline int roundDouble(const double v)
return (v > 0.0) ? (v + 0.5) : (v - 0.5);
}
-inline int powerOfTwo(int input)
+inline int powerOfTwo(const int input)
{
int value = 1;
while (value < input)