Module: wine Branch: master Commit: 9c02d53ca73eafbf2821832d4a28d29f711484b7 URL: https://source.winehq.org/git/wine.git/?a=commit;h=9c02d53ca73eafbf2821832d4...
Author: Eric Pouech eric.pouech@gmail.com Date: Thu Mar 3 08:22:09 2022 +0100
pstorec/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech eric.pouech@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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);