summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-05-29 10:18:37 +0100
committerCarl Hetherington <cth@carlh.net>2013-05-29 10:18:37 +0100
commit96f8d3ab8b59cbcaf7b8b78f958dd7c10c9aada2 (patch)
tree81d2b9507d5d7a77c828a89ad5e3b59e819d0e00 /src
parentd77d0d1bd972f6343752ca45a3d5e0a0924e2d50 (diff)
Try to fix compile on OS X
Diffstat (limited to 'src')
-rw-r--r--src/lut.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lut.h b/src/lut.h
index 8363e6a4..bdb5f37f 100644
--- a/src/lut.h
+++ b/src/lut.h
@@ -33,7 +33,7 @@ public:
, _bit_depth (bit_depth)
, _gamma (gamma)
{
- _lut = new T[int(std::pow(2, _bit_depth))];
+ _lut = new T[int(std::pow(2.0f, _bit_depth))];
}
virtual ~LUT() {