Build fix.
diff --git a/Magick++/lib/Statistic.cpp b/Magick++/lib/Statistic.cpp
index 8d76b7b..52e9b54 100644
--- a/Magick++/lib/Statistic.cpp
+++ b/Magick++/lib/Statistic.cpp
@@ -154,7 +154,7 @@
     if (sscanf(hash_.substr(i*5,5).c_str(),"%05x",&hex) != 1)
       throw ErrorOption("Invalid hash value");
 
-    value=((unsigned short)hex) / pow(10, (hex >> 17));
+    value=((unsigned short)hex) / pow(10.0, (double)(hex >> 17));
     if (hex & (1 << 16))
       value=-value;
     if (i < 7)