Fix compilation error under Windows.

This commit is contained in:
Vinay Sajip 2013-01-29 22:52:57 +00:00
parent 2ae8c6316f
commit 404229b02d
1 changed files with 2 additions and 2 deletions

View File

@ -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 {