diff options
author | David Robillard <d@drobilla.net> | 2018-08-26 14:40:39 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-29 14:50:30 +0200 |
commit | 5dff0a4139164bca303691305ad35e7dd06c1a10 (patch) | |
tree | e6b820cc5d0e8ba7bc0dc82f23bd68ab13a63946 | |
parent | 0d797734a8cc96e8db8c23372f844966603c5877 (diff) | |
download | chilbert-5dff0a4139164bca303691305ad35e7dd06c1a10.tar.gz chilbert-5dff0a4139164bca303691305ad35e7dd06c1a10.tar.bz2 chilbert-5dff0a4139164bca303691305ad35e7dd06c1a10.zip |
Fix warning
-rw-r--r-- | bin/chilbert_svg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chilbert_svg.cpp b/bin/chilbert_svg.cpp index 7c63042..1151a1a 100644 --- a/bin/chilbert_svg.cpp +++ b/bin/chilbert_svg.cpp @@ -38,7 +38,7 @@ main(int argc, char** argv) } const uint32_t w = - uint32_t(sqrt(1 << uint32_t(ceil(log2(num_points))))) - 1; + uint32_t(sqrt(1 << uint32_t(ceil(log2(double(num_points)))))) - 1; // Header printf("<svg xmlns='http://www.w3.org/2000/svg'" |