Browse Source

resolved ambiguity to make gcc happy

tempestpy_adaptions
dehnert 7 years ago
parent
commit
ce5c740c51
  1. 2
      src/storm/adapters/Z3ExpressionAdapter.cpp

2
src/storm/adapters/Z3ExpressionAdapter.cpp

@ -237,7 +237,7 @@ namespace storm {
} }
boost::any Z3ExpressionAdapter::visit(storm::expressions::IntegerLiteralExpression const& expression, boost::any const&) { boost::any Z3ExpressionAdapter::visit(storm::expressions::IntegerLiteralExpression const& expression, boost::any const&) {
return context.int_val(expression.getValue());
return context.int_val(static_cast<long long>(expression.getValue()));
} }
boost::any Z3ExpressionAdapter::visit(storm::expressions::UnaryBooleanFunctionExpression const& expression, boost::any const& data) { boost::any Z3ExpressionAdapter::visit(storm::expressions::UnaryBooleanFunctionExpression const& expression, boost::any const& data) {

Loading…
Cancel
Save