From f92e38a181b299cec226108bd2d745b9db541036 Mon Sep 17 00:00:00 2001 From: Heiko Behrens Date: Sun, 29 Jan 2023 09:36:26 +0100 Subject: [PATCH] fix compilation of minifb's X11 binding for 32-bit (#308) --- src/os/posix/x11.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/posix/x11.rs b/src/os/posix/x11.rs index cf357b3..d79db05 100644 --- a/src/os/posix/x11.rs +++ b/src/os/posix/x11.rs @@ -724,7 +724,7 @@ impl Window { y, &mut nx, &mut ny, - dummy_window.as_mut_ptr() as *mut u64, + dummy_window.as_mut_ptr() as *mut c_ulong, ); }