mirror of
https://github.com/storytold/winit.git
synced 2026-11-22 12:20:44 +01:00
Fix bug with 64bits rustc
This commit is contained in:
1 parent
cb32e64b72
commit
cdee854d2e
1 file changed
+1
-1
+1
-1
@@ -440,7 +440,7 @@ extern "stdcall" fn callback(window: ffi::HWND, msg: ffi::UINT,
|
||||
ffi::WM_CHAR => {
|
||||
use std::mem;
|
||||
use events::ReceivedCharacter;
|
||||
let chr: char = unsafe { mem::transmute(wparam) };
|
||||
let chr: char = unsafe { mem::transmute(wparam as u32) };
|
||||
send_event(window, ReceivedCharacter(chr));
|
||||
0
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user