We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e20a340 commit ada53a2Copy full SHA for ada53a2
src/platform/windows/wgl/context.rs
@@ -659,7 +659,7 @@ fn extension_loader_thread() -> WGLExtensionFunctions {
659
let mut extension_functions = WGLExtensionFunctions::default();
660
let window = winuser::CreateWindowExA(
661
0,
662
- window_class_atom.cast(),
+ window_class_atom as LPCSTR,
663
window_class_name,
664
WS_OVERLAPPEDWINDOW | WS_VISIBLE,
665
0 commit comments