Skip to content

Commit f91e7e4

Browse files
committed
Use unsafe type to get the arg in va_list
1 parent 4965fe1 commit f91e7e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp2rust/converter/models/converter_refcount.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1398,7 +1398,7 @@ bool ConverterRefCount::VisitVAArgExpr(clang::VAArgExpr *expr) {
13981398
}
13991399
StrCat(ConvertLValue(va_list_expr));
14001400
StrCat(".arg::<");
1401-
Convert(expr->getType());
1401+
StrCat(GetUnsafeTypeAsString(expr->getType()));
14021402
StrCat(">()");
14031403
return false;
14041404
}

0 commit comments

Comments
 (0)