File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2214,7 +2214,9 @@ impl Bindgen for FunctionBindgen<'_, '_> {
2214
2214
Bitcast :: I64ToP64 | Bitcast :: P64ToI64 => {
2215
2215
results. push ( format ! ( "{}" , op) ) ;
2216
2216
}
2217
- Bitcast :: None => results. push ( op. to_string ( ) ) ,
2217
+ Bitcast :: I32ToP | Bitcast :: PToI32 | Bitcast :: None => {
2218
+ results. push ( op. to_string ( ) )
2219
+ }
2218
2220
}
2219
2221
}
2220
2222
}
Original file line number Diff line number Diff line change @@ -1343,7 +1343,7 @@ impl Bindgen for FunctionBindgen<'_, '_> {
1343
1343
Bitcast :: P64ToI64 => format ! ( "{op}" ) ,
1344
1344
Bitcast :: PToP64 => format ! ( "(long) ({op})" ) ,
1345
1345
Bitcast :: P64ToP => format ! ( "(int) ({op})" ) ,
1346
- Bitcast :: None => op. to_owned ( ) ,
1346
+ Bitcast :: I32ToP | Bitcast :: PToI32 | Bitcast :: None => op. to_owned ( ) ,
1347
1347
} ) )
1348
1348
}
1349
1349
You can’t perform that action at this time.
0 commit comments