Skip to content

Commit ada53a2

Browse files
committed
revert cast
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>
1 parent e20a340 commit ada53a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/windows/wgl/context.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ fn extension_loader_thread() -> WGLExtensionFunctions {
659659
let mut extension_functions = WGLExtensionFunctions::default();
660660
let window = winuser::CreateWindowExA(
661661
0,
662-
window_class_atom.cast(),
662+
window_class_atom as LPCSTR,
663663
window_class_name,
664664
WS_OVERLAPPEDWINDOW | WS_VISIBLE,
665665
0,

0 commit comments

Comments
 (0)