[PATCH 24/25] dlls/uianimation/tests: enable compilation with long types
Eric Pouech
eric.pouech at gmail.com
Sat Mar 5 05:08:56 CST 2022
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
---
dlls/uianimation/tests/Makefile.in | 1 -
dlls/uianimation/tests/uianimation.c | 26 +++++++++++++-------------
2 files changed, 13 insertions(+), 14 deletions(-)
diff --git a/dlls/uianimation/tests/Makefile.in b/dlls/uianimation/tests/Makefile.in
index 340034a0ddb..ec1118c2fcd 100644
--- a/dlls/uianimation/tests/Makefile.in
+++ b/dlls/uianimation/tests/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
TESTDLL = uianimation.dll
IMPORTS = ole32
diff --git a/dlls/uianimation/tests/uianimation.c b/dlls/uianimation/tests/uianimation.c
index e8d113a6257..8aedd2e4bcf 100644
--- a/dlls/uianimation/tests/uianimation.c
+++ b/dlls/uianimation/tests/uianimation.c
@@ -41,12 +41,12 @@ static void test_UIAnimationManager(void)
}
hr = IUIAnimationManager_CreateAnimationVariable(manager, 1.0f, &variable);
- ok(hr == S_OK, "got 0x%08x\n", hr);
+ ok(hr == S_OK, "got 0x%08lx\n", hr);
if (hr == S_OK)
IUIAnimationVariable_Release(variable);
hr = IUIAnimationManager_CreateStoryboard(manager, &storyboard);
- ok(hr == S_OK, "got 0x%08x\n", hr);
+ ok(hr == S_OK, "got 0x%08lx\n", hr);
if (hr == S_OK)
IUIAnimationStoryboard_Release(storyboard);
@@ -66,25 +66,25 @@ static void test_IUIAnimationTimer(void)
}
hr = IUIAnimationTimer_IsEnabled(timer);
- todo_wine ok(hr == S_FALSE, "got 0x%08x\n", hr);
+ todo_wine ok(hr == S_FALSE, "got 0x%08lx\n", hr);
hr = IUIAnimationTimer_Enable(timer);
- ok(hr == S_OK, "got 0x%08x\n", hr);
+ ok(hr == S_OK, "got 0x%08lx\n", hr);
hr = IUIAnimationTimer_Enable(timer);
- todo_wine ok(hr == S_FALSE, "got 0x%08x\n", hr);
+ todo_wine ok(hr == S_FALSE, "got 0x%08lx\n", hr);
hr = IUIAnimationTimer_IsEnabled(timer);
- todo_wine ok(hr == S_OK, "got 0x%08x\n", hr);
+ todo_wine ok(hr == S_OK, "got 0x%08lx\n", hr);
hr = IUIAnimationTimer_Disable(timer);
- todo_wine ok(hr == S_OK, "got 0x%08x\n", hr);
+ todo_wine ok(hr == S_OK, "got 0x%08lx\n", hr);
hr = IUIAnimationTimer_Disable(timer);
- todo_wine ok(hr == S_FALSE, "got 0x%08x\n", hr);
+ todo_wine ok(hr == S_FALSE, "got 0x%08lx\n", hr);
hr = IUIAnimationTimer_IsEnabled(timer);
- todo_wine ok(hr == S_FALSE, "got 0x%08x\n", hr);
+ todo_wine ok(hr == S_FALSE, "got 0x%08lx\n", hr);
IUIAnimationTimer_Release(timer);
}
@@ -104,7 +104,7 @@ static void test_IUIAnimationTransitionFactory(void)
}
hr = IUIAnimationTransitionFactory_CreateTransition(factory, NULL, &transition);
- todo_wine ok(hr == E_POINTER, "got 0x%08x\n", hr);
+ todo_wine ok(hr == E_POINTER, "got 0x%08lx\n", hr);
IUIAnimationTransitionFactory_Release(factory);
}
@@ -124,17 +124,17 @@ static void test_IUIAnimationTransitionLibrary(void)
}
hr = IUIAnimationTransitionLibrary_CreateInstantaneousTransition(library, 100.0, &instantaneous);
- todo_wine ok(hr == S_OK, "got 0x%08x\n", hr);
+ todo_wine ok(hr == S_OK, "got 0x%08lx\n", hr);
if (hr == S_OK)
IUIAnimationTransition_Release(instantaneous);
hr = IUIAnimationTransitionLibrary_CreateLinearTransition(library, 500.0, 100.0, &linear);
- todo_wine ok(hr == S_OK, "got 0x%08x\n", hr);
+ todo_wine ok(hr == S_OK, "got 0x%08lx\n", hr);
if (hr == S_OK)
IUIAnimationTransition_Release(linear);
hr = IUIAnimationTransitionLibrary_CreateSmoothStopTransition(library, 500.0, 100.0, &smooth);
- todo_wine ok(hr == S_OK, "got 0x%08x\n", hr);
+ todo_wine ok(hr == S_OK, "got 0x%08lx\n", hr);
if (hr == S_OK)
IUIAnimationTransition_Release(smooth);
More information about the wine-devel
mailing list