From 8d59d7a990fc9daac99df6e44736088a340451d9 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Tue, 15 Mar 2022 09:48:28 +1100 Subject: [PATCH] Updated version-VerQueryValue patchset Warning fixes. --- .../0001-version-Test-for-VerQueryValueA-try-2.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/patches/version-VerQueryValue/0001-version-Test-for-VerQueryValueA-try-2.patch b/patches/version-VerQueryValue/0001-version-Test-for-VerQueryValueA-try-2.patch index 934ab4bc..9faab29e 100644 --- a/patches/version-VerQueryValue/0001-version-Test-for-VerQueryValueA-try-2.patch +++ b/patches/version-VerQueryValue/0001-version-Test-for-VerQueryValueA-try-2.patch @@ -96,7 +96,7 @@ index b99a335d81a..6f16999b086 100644 + len = 0xdeadbeef; + SetLastError(0xdeadbeef); + ret = VerQueryValueA(preparedbuffer, "StringFileInfo", (LPVOID *)&p, &len); -+ ok(ret, "VerQueryValueA error %u\n", GetLastError()); ++ ok(ret, "VerQueryValueA error %lu\n", GetLastError()); + ok(len == 0, "VerQueryValueA returned %u, expected 0\n", len); + todo_wine + ok(p == preparedbuffer + 0x7e, "p was %p, expected %p\n", p, preparedbuffer + 0x7e); @@ -105,7 +105,7 @@ index b99a335d81a..6f16999b086 100644 + len = 0xdeadbeef; + SetLastError(0xdeadbeef); + ret = VerQueryValueA(preparedbuffer, "\\StringFileInfo", (LPVOID *)&p, &len); -+ ok(ret, "VerQueryValueA error %u\n", GetLastError()); ++ ok(ret, "VerQueryValueA error %lu\n", GetLastError()); + ok(len == 0, "VerQueryValueA returned %u, expected 0\n", len); + todo_wine + ok(p == preparedbuffer + 0x7e, "p was %p, expected %p\n", p, preparedbuffer + 0x7e); @@ -114,7 +114,7 @@ index b99a335d81a..6f16999b086 100644 + len = 0xdeadbeef; + SetLastError(0xdeadbeef); + ret = VerQueryValueA(preparedbuffer, "\\\\StringFileInfo", (LPVOID *)&p, &len); -+ ok(ret, "VerQueryValueA error %u\n", GetLastError()); ++ ok(ret, "VerQueryValueA error %lu\n", GetLastError()); + ok(len == 0, "VerQueryValueA returned %u, expected 0\n", len); + todo_wine + ok(p == preparedbuffer + 0x7e, "p was %p, expected %p\n", p, preparedbuffer + 0x7e); @@ -124,7 +124,7 @@ index b99a335d81a..6f16999b086 100644 + len = 0xdeadbeef; + SetLastError(0xdeadbeef); + ret = VerQueryValueW(preparedbuffer, FileDescriptionW + 2, (LPVOID *)&p, &len); -+ ok(ret, "VerQueryValueW error %u\n", GetLastError()); ++ ok(ret, "VerQueryValueW error %lu\n", GetLastError()); + ok(len == 0, "VerQueryValueW returned %u, expected 0\n", len); + todo_wine + ok(p == preparedbuffer + 0x7e, "p was %p, expected %p\n", p, preparedbuffer + 0x7e); @@ -133,7 +133,7 @@ index b99a335d81a..6f16999b086 100644 + len = 0xdeadbeef; + SetLastError(0xdeadbeef); + ret = VerQueryValueW(preparedbuffer, FileDescriptionW + 1, (LPVOID *)&p, &len); -+ ok(ret, "VerQueryValueW error %u\n", GetLastError()); ++ ok(ret, "VerQueryValueW error %lu\n", GetLastError()); + ok(len == 0, "VerQueryValueW returned %u, expected 0\n", len); + todo_wine + ok(p == preparedbuffer + 0x7e, "p was %p, expected %p\n", p, preparedbuffer + 0x7e); @@ -142,7 +142,7 @@ index b99a335d81a..6f16999b086 100644 + len = 0xdeadbeef; + SetLastError(0xdeadbeef); + ret = VerQueryValueW(preparedbuffer, FileDescriptionW, (LPVOID *)&p, &len); -+ ok(ret, "VerQueryValueW error %u\n", GetLastError()); ++ ok(ret, "VerQueryValueW error %lu\n", GetLastError()); + ok(len == 0, "VerQueryValueW returned %u, expected 0\n", len); + todo_wine + ok(p == preparedbuffer + 0x7e, "p was %p, expected %p\n", p, preparedbuffer + 0x7e);