Kaydet (Commit) 404229b0 authored tarafından Vinay Sajip's avatar Vinay Sajip

Fix compilation error under Windows.

üst 2ae8c631
...@@ -1257,8 +1257,8 @@ process(int argc, wchar_t ** argv) ...@@ -1257,8 +1257,8 @@ process(int argc, wchar_t ** argv)
if (!valid) if (!valid)
debug(L"GetFileVersionInfo failed: %X\n", GetLastError()); debug(L"GetFileVersionInfo failed: %X\n", GetLastError());
else { else {
valid = VerQueryValueW(version_data, L"\\", &file_info, valid = VerQueryValueW(version_data, L"\\",
&block_size); (LPVOID *) &file_info, &block_size);
if (!valid) if (!valid)
debug(L"VerQueryValue failed: %X\n", GetLastError()); debug(L"VerQueryValue failed: %X\n", GetLastError());
else { else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment