diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2013-01-29 22:52:57 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2013-01-29 22:52:57 (GMT) |
commit | 404229b02d191d2e13eb9eab99412fabfc3965f2 (patch) | |
tree | b6d5c7e579e50e5d6a8ce0451348a5273f0cc38c | |
parent | 2ae8c6316ff7f173d24b391db6b3b1d3685a496d (diff) | |
download | cpython-404229b02d191d2e13eb9eab99412fabfc3965f2.zip cpython-404229b02d191d2e13eb9eab99412fabfc3965f2.tar.gz cpython-404229b02d191d2e13eb9eab99412fabfc3965f2.tar.bz2 |
Fix compilation error under Windows.
-rw-r--r-- | PC/launcher.c | 4 |
1 files 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 { |