diff --git a/src/adapters/Z3ExpressionAdapter.h b/src/adapters/Z3ExpressionAdapter.h index 5a59c6cd7..428ccd0ce 100644 --- a/src/adapters/Z3ExpressionAdapter.h +++ b/src/adapters/Z3ExpressionAdapter.h @@ -201,15 +201,15 @@ namespace storm { case Z3_OP_ANUM: //Arithmetic numeral if (expr.is_int() && expr.is_const()) { - int_fast64_t value; + long long value; if (Z3_get_numeral_int64(expr.ctx(), expr, &value)) { return storm::expressions::Expression::createIntegerLiteral(value); } else { LOG_THROW(false, storm::exceptions::ExpressionEvaluationException, "Failed to convert Z3 expression. Expression is constant integer and value does not fit into 64-bit integer."); } } else if (expr.is_real() && expr.is_const()) { - int_fast64_t num; - int_fast64_t den; + long long num; + long long den; if (Z3_get_numeral_rational_int64(expr.ctx(), expr, &num, &den)) { return storm::expressions::Expression::createDoubleLiteral(static_cast(num) / static_cast(den)); } else {