diff --git a/lib/mathlib.cpp b/lib/mathlib.cpp index e996f7596..8d7c5c4ac 100644 --- a/lib/mathlib.cpp +++ b/lib/mathlib.cpp @@ -605,7 +605,7 @@ std::string MathLib::multiply(const std::string &first, const std::string &secon std::string MathLib::mod(const std::string &first, const std::string &second) { if (MathLib::isInt(first) && MathLib::isInt(second)) { - bigint b = toLongNumber(second); + const bigint b = toLongNumber(second); if (b == 0) throw InternalError(0, "Internal Error: Division by zero"); return toString(toLongNumber(first) % b);