summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2013-01-29 22:52:57 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2013-01-29 22:52:57 (GMT)
commit404229b02d191d2e13eb9eab99412fabfc3965f2 (patch)
treeb6d5c7e579e50e5d6a8ce0451348a5273f0cc38c
parent2ae8c6316ff7f173d24b391db6b3b1d3685a496d (diff)
downloadcpython-404229b02d191d2e13eb9eab99412fabfc3965f2.zip
cpython-404229b02d191d2e13eb9eab99412fabfc3965f2.tar.gz
cpython-404229b02d191d2e13eb9eab99412fabfc3965f2.tar.bz2
Fix compilation error under Windows.
-rw-r--r--PC/launcher.c4
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 {