summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-26 01:23:58 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-30 02:57:14 +0300
commit660dcd09eb2c156e3ca8bafe0c1a339041204d33 (patch)
tree4cbb60e6a63efaa456749a1520a6bf67f2b270c0 /src/utils
parent859012375bf752fbee028c55049cf43c6210dcfd (diff)
downloadmv-660dcd09eb2c156e3ca8bafe0c1a339041204d33.tar.gz
mv-660dcd09eb2c156e3ca8bafe0c1a339041204d33.tar.bz2
mv-660dcd09eb2c156e3ca8bafe0c1a339041204d33.tar.xz
mv-660dcd09eb2c156e3ca8bafe0c1a339041204d33.zip
fix code style.
Diffstat (limited to 'src/utils')
-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)