From ce5c740c511f8acb8f32a664ecef3143e08e33cf Mon Sep 17 00:00:00 2001 From: dehnert Date: Fri, 3 Nov 2017 16:31:06 +0100 Subject: [PATCH] resolved ambiguity to make gcc happy --- src/storm/adapters/Z3ExpressionAdapter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storm/adapters/Z3ExpressionAdapter.cpp b/src/storm/adapters/Z3ExpressionAdapter.cpp index 74e2d219c..e55f5fe3c 100644 --- a/src/storm/adapters/Z3ExpressionAdapter.cpp +++ b/src/storm/adapters/Z3ExpressionAdapter.cpp @@ -237,7 +237,7 @@ namespace storm { } boost::any Z3ExpressionAdapter::visit(storm::expressions::IntegerLiteralExpression const& expression, boost::any const&) { - return context.int_val(expression.getValue()); + return context.int_val(static_cast(expression.getValue())); } boost::any Z3ExpressionAdapter::visit(storm::expressions::UnaryBooleanFunctionExpression const& expression, boost::any const& data) {