From 9c02d53ca73eafbf2821832d4a28d29f711484b7 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Thu, 3 Mar 2022 08:22:09 +0100 Subject: [PATCH] pstorec/tests: Enable compilation with long types. Signed-off-by: Eric Pouech Signed-off-by: Alexandre Julliard --- 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);