From 2f858cc06494f3a8e50f0c6ff3dd6f1270badb93 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Thu, 24 Feb 2022 11:27:50 +0100 Subject: [PATCH] directmanipulation/tests: Enable compilation with long types. Signed-off-by: Eric Pouech Signed-off-by: Alexandre Julliard --- dlls/directmanipulation/tests/Makefile.in | 1 - dlls/directmanipulation/tests/manipulation.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dlls/directmanipulation/tests/Makefile.in b/dlls/directmanipulation/tests/Makefile.in index 6fa94fa3cc6..29ec0db511a 100644 --- a/dlls/directmanipulation/tests/Makefile.in +++ b/dlls/directmanipulation/tests/Makefile.in @@ -1,4 +1,3 @@ -EXTRADEFS = -DWINE_NO_LONG_TYPES TESTDLL = directmanipulation.dll IMPORTS = uuid ole32 diff --git a/dlls/directmanipulation/tests/manipulation.c b/dlls/directmanipulation/tests/manipulation.c index 93b692729b3..92c8ddd9edd 100644 --- a/dlls/directmanipulation/tests/manipulation.c +++ b/dlls/directmanipulation/tests/manipulation.c @@ -39,10 +39,10 @@ static void test_IDirectManipulationManager2(void) win_skip("Failed to create XMLView instance\n"); return; } - ok(hres == S_OK, "CoCreateInstance returned %x, expected S_OK\n", hres); + ok(hres == S_OK, "CoCreateInstance returned %lx, expected S_OK\n", hres); hres = IDirectManipulationManager2_GetUpdateManager(manager2, &IID_IDirectManipulationUpdateManager, (void**)&update); - ok(hres == S_OK, "returned %x, expected S_OK\n", hres); + ok(hres == S_OK, "returned %lx, expected S_OK\n", hres); if(update) IDirectManipulationUpdateManager_Release(update);