Skip to content

Commit 2458be1

Browse files
committed
FIX: reverting previous try to fix VC warning as MingW does not like it at all.
1 parent bfc9ad2 commit 2458be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/os/host-main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ int main(int argc, char **argv) {
242242
App_Instance = GetModuleHandle(0); // HMODULE=HINSTANCE
243243
#endif
244244
// Fetch the win32 unicoded program arguments:
245-
(LPWSTR*)argv = CommandLineToArgvW(GetCommandLineW(), &argc);
245+
argv = CommandLineToArgvW(GetCommandLineW(), &argc);
246246
// Use title string as defined in resources file (.rc) with hardcoded ID 101
247247
LoadStringW(App_Instance, 101, App_Title, MAX_TITLE_LENGTH);
248248
#else //non Windows platforms

0 commit comments

Comments
 (0)