From 404229b02d191d2e13eb9eab99412fabfc3965f2 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Tue, 29 Jan 2013 22:52:57 +0000 Subject: Fix compilation error under Windows. --- PC/launcher.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PC/launcher.c b/PC/launcher.c index 3efd9d9..358b99f 100644 --- a/PC/launcher.c +++ b/PC/launcher.c @@ -1257,8 +1257,8 @@ process(int argc, wchar_t ** argv) if (!valid) debug(L"GetFileVersionInfo failed: %X\n", GetLastError()); else { - valid = VerQueryValueW(version_data, L"\\", &file_info, - &block_size); + valid = VerQueryValueW(version_data, L"\\", + (LPVOID *) &file_info, &block_size); if (!valid) debug(L"VerQueryValue failed: %X\n", GetLastError()); else { -- cgit v0.12