Skip to content

Commit a3f9c2b

Browse files
committed
Fix syscall parameter
1 parent 5b334ab commit a3f9c2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/pinocchio/src/cpi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ pub fn get_return_data() -> Option<ReturnData> {
496496
crate::syscalls::sol_get_return_data(
497497
data.as_mut_ptr() as *mut u8,
498498
data.len() as u64,
499-
program_id.as_mut_ptr() as *mut Pubkey,
499+
program_id.as_mut_ptr() as *mut Address as *mut u8,
500500
)
501501
};
502502

0 commit comments

Comments
 (0)