We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e48e28d commit a374d25Copy full SHA for a374d25
vlib/clipboard/clipboard_windows.c.v
@@ -93,8 +93,8 @@ fn new_clipboard() &Clipboard {
93
cb_size: sizeof(WndClassEx)
94
lpfn_wnd_proc: voidptr(&C.DefWindowProc)
95
lpsz_class_name: class_name.to_wide()
96
- lpsz_menu_name: 0
97
- h_icon_sm: 0
+ lpsz_menu_name: unsafe { 0 }
+ h_icon_sm: unsafe { 0 }
98
}
99
if C.RegisterClassEx(voidptr(&wndclass)) == 0
100
&& C.GetLastError() != u32(C.ERROR_CLASS_ALREADY_EXISTS) {
0 commit comments