Skip to content

Commit

Permalink
fix the pointer type.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lokathor committed Sep 2, 2024
1 parent 8bfa518 commit 98a561b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ impl TextEntry {
pub fn video3_clear_to(c: Color) {
let u = u32::from(c.0) << 16 | u32::from(c.0);
unsafe {
let p = VIDEO3_VRAM.as_usize() as *mut u32;
let p = VIDEO3_VRAM.as_usize() as *mut _;
set_u32x80_unchecked(p, u, 240_usize);
}
}
Expand Down

0 comments on commit 98a561b

Please sign in to comment.