fix compilation

This commit is contained in:
lperron@google.com
2012-06-19 17:04:54 +00:00
parent f0a9db4ebe
commit 90ab42fdaa

View File

@@ -4149,7 +4149,8 @@ class BasePower : public BaseIntExpr {
: BaseIntExpr(s),
expr_(e),
pow_(n),
limit_(static_cast<int64>(floor(exp(log(kint64max) / pow_)))) {}
limit_(static_cast<int64>(
floor(exp(log(static_cast<double>(kint64max)) / pow_)))) {}
virtual ~BasePower() {}