Skip to content

Commit ff00738

Browse files
committed
Fix merge error
1 parent 2f996c7 commit ff00738

File tree

1 file changed

+1
-1
lines changed
  • c2rust-transpile/src/translator

1 file changed

+1
-1
lines changed

c2rust-transpile/src/translator/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4517,7 +4517,7 @@ impl<'c> Translation<'c> {
45174517
} else {
45184518
Mutability::Mutable
45194519
};
4520-
let target_ty = self.convert_type(ty.ctype)?;
4520+
let target_ty = self.convert_type(target_cty.ctype)?;
45214521

45224522
Ok(val.map(|x| {
45234523
self.use_feature("raw_ref_op");

0 commit comments

Comments
 (0)