diff options
author | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-10-11 20:23:33 +0200 |
---|---|---|
committer | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-10-11 20:23:33 +0200 |
commit | cdee854d2e4768c2d5bfca5a972fde782c82dbe7 (patch) | |
tree | 76699d9d02b45f09e4dc548f8ed43da5bc429226 /src/win32 | |
parent | cb32e64b72e9342d30cde694ab25234a263cab59 (diff) | |
download | glutin-cdee854d2e4768c2d5bfca5a972fde782c82dbe7.tar.gz glutin-cdee854d2e4768c2d5bfca5a972fde782c82dbe7.zip |
Fix bug with 64bits rustc
Diffstat (limited to 'src/win32')
-rw-r--r-- | src/win32/init.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/init.rs b/src/win32/init.rs index e50fc5d..bb3f53b 100644 --- a/src/win32/init.rs +++ b/src/win32/init.rs @@ -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 }, |