Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 404229b

Browse files
committed
Fix compilation error under Windows.
1 parent 2ae8c63 commit 404229b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PC/launcher.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,8 +1257,8 @@ process(int argc, wchar_t ** argv)
12571257
if (!valid)
12581258
debug(L"GetFileVersionInfo failed: %X\n", GetLastError());
12591259
else {
1260-
valid = VerQueryValueW(version_data, L"\\", &file_info,
1261-
&block_size);
1260+
valid = VerQueryValueW(version_data, L"\\",
1261+
(LPVOID *) &file_info, &block_size);
12621262
if (!valid)
12631263
debug(L"VerQueryValue failed: %X\n", GetLastError());
12641264
else {

0 commit comments

Comments
 (0)