We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 108cdb7 commit f000eb5Copy full SHA for f000eb5
1 file changed
cpp2rust/converter/converter.cpp
@@ -1642,7 +1642,8 @@ void Converter::EmitArgList(const CallInfo &info) {
1642
case Kind::Inline:
1643
ConvertParamTy(ca.param_type, ca.expr);
1644
if (info.is_libc_passthrough) {
1645
- StrCat(std::format("as {}", Mapper::GetParamType(callee, i)));
+ StrCat(std::format(
1646
+ "as {}", Mapper::GetParamType(GetCalleeOrExpr(info.expr), i)));
1647
}
1648
break;
1649
0 commit comments