[Python-checkins] cpython: Fix compilation error under Windows.

vinay.sajip python-checkins at python.org
Tue Jan 29 23:53:15 CET 2013


http://hg.python.org/cpython/rev/3104cad2d9e6
changeset: 81835:3104cad2d9e6
parent: 81833:0880e0f859e0
user: Vinay Sajip <vinay_sajip at yahoo.co.uk>
date: Tue Jan 29 22:52:57 2013 +0000
summary:
 Fix compilation error under Windows.
files:
 PC/launcher.c | 4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/PC/launcher.c b/PC/launcher.c
--- a/PC/launcher.c
+++ b/PC/launcher.c
@@ -1257,8 +1257,8 @@
 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 {
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /