[PATCH 12/21] dlls/pstorec/tests: enable compilation with long types

Eric Pouech eric.pouech at gmail.com
Thu Mar 3 01:22:09 CST 2022


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 dlls/pstorec/tests/Makefile.in |    1 -
 dlls/pstorec/tests/pstorec.c   |    6 +++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/dlls/pstorec/tests/Makefile.in b/dlls/pstorec/tests/Makefile.in
index eb6c02a5291..2287f0f4c70 100644
--- a/dlls/pstorec/tests/Makefile.in
+++ b/dlls/pstorec/tests/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 TESTDLL = pstorec.dll
 
 C_SRCS = \
diff --git a/dlls/pstorec/tests/pstorec.c b/dlls/pstorec/tests/pstorec.c
index bc30b193d72..9716ecd63a0 100644
--- a/dlls/pstorec/tests/pstorec.c
+++ b/dlls/pstorec/tests/pstorec.c
@@ -49,14 +49,14 @@ static void test_PStoreCreateInstance(void)
         win_skip("PStoreCreateInstance is not implemented on this system\n");
         return;
     }
-    ok(hr == S_OK, "Unexpected return value %#x.\n", hr);
+    ok(hr == S_OK, "Unexpected return value %#lx.\n", hr);
 
     hr = IPStore_QueryInterface(store, &IID_IUnknown, (void **)&unk);
-    ok(hr == S_OK, "Unexpected return value %#x.\n", hr);
+    ok(hr == S_OK, "Unexpected return value %#lx.\n", hr);
     IUnknown_Release(unk);
 
     hr = IPStore_QueryInterface(store, &IID_IPStore, (void **)&unk);
-    ok(hr == S_OK, "Unexpected return value %#x.\n", hr);
+    ok(hr == S_OK, "Unexpected return value %#lx.\n", hr);
     IUnknown_Release(unk);
 
     IPStore_Release(store);




More information about the wine-devel mailing list