Fix compilation error under Windows.
This commit is contained in:
parent
2ae8c6316f
commit
404229b02d
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue