Skip to content

Commit

Permalink
make the pointer type match the usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lokathor committed Sep 2, 2024
1 parent d180fa6 commit dd6e9cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ pub unsafe fn copy_u32x8_unchecked(
#[cfg_attr(feature = "on_gba", instruction_set(arm::a32))]
#[cfg_attr(feature = "on_gba", link_section = ".iwram.set_u32x80_unchecked")]
pub unsafe extern "C" fn set_u32x80_unchecked(
dest: *mut u32, word: u32, count: usize,
dest: *mut [u32; 80], word: u32, count: usize,
) {
on_gba_or_unimplemented!(unsafe {
core::arch::asm!(
Expand Down

0 comments on commit dd6e9cc

Please sign in to comment.