From 2c797b04240b283b19c1e1055618c7159882d37d Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Fri, 17 Feb 2023 17:04:39 +0100 Subject: [PATCH] Subatomic revert --- ctru-rs/examples/camera-image.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctru-rs/examples/camera-image.rs b/ctru-rs/examples/camera-image.rs index e481181..aa4dff9 100644 --- a/ctru-rs/examples/camera-image.rs +++ b/ctru-rs/examples/camera-image.rs @@ -56,7 +56,7 @@ fn main() { .expect("Failed to disable trimming"); } - let mut buf = vec![0; BUF_SIZE]; + let mut buf = vec![0u8; BUF_SIZE]; println!("\nPress R to take a new picture"); println!("Press Start to exit to Homebrew Launcher");