Skip to content

Commit 604cce6

Browse files
committed
fix on windows
1 parent c96d2af commit 604cce6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform_adapter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ impl Adapter {
3737
);
3838
#[cfg(target_os = "windows")]
3939
let adapter =
40-
SubclassingAdapter::new(HWND(_win.raw_handle() as isize), activation_handler, action_handler);
40+
SubclassingAdapter::new(HWND(_win.raw_handle()), activation_handler, action_handler);
4141
#[cfg(target_os = "macos")]
4242
let adapter = {
4343
use std::os::raw;

0 commit comments

Comments
 (0)