Skip to content

Commit 9c82cc0

Browse files
committed
Drop integer suffix when visiting integer literal
1 parent dfec347 commit 9c82cc0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp2rust/converter/converter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1633,7 +1633,7 @@ bool Converter::VisitIntegerLiteral(clang::IntegerLiteral *expr) {
16331633
computed_expr_type_ = ComputedExprType::FreshValue;
16341634
return false;
16351635
}
1636-
StrCat(getIntegerLiteral(expr, Mapper::Map(expr->getType()) != "i32"));
1636+
StrCat(getIntegerLiteral(expr, false));
16371637
computed_expr_type_ = ComputedExprType::FreshValue;
16381638
return false;
16391639
}

0 commit comments

Comments
 (0)