diff --git a/src/util/format_expr.cpp b/src/util/format_expr.cpp index 3248e890527..41b0f202218 100644 --- a/src/util/format_expr.cpp +++ b/src/util/format_expr.cpp @@ -171,7 +171,9 @@ static std::ostream &format_rec(std::ostream &os, const constant_exprt &src) else return os << src.pretty(); } - else if(type == ID_unsignedbv || type == ID_signedbv || type == ID_c_bool) + else if( + type == ID_unsignedbv || type == ID_signedbv || type == ID_c_bool || + type == ID_c_bit_field) return os << *numeric_cast(src); else if(type == ID_integer) return os << src.get_value();