Eric Pouech : windowscodecsext/tests: Enable compilation with long types.

Alexandre Julliard julliard at winehq.org
Wed Mar 9 16:08:44 CST 2022


Module: wine
Branch: master
Commit: b228b914fd69f92c36f27f24a0814df8c6adb9b2
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=b228b914fd69f92c36f27f24a0814df8c6adb9b2

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Wed Mar  9 08:21:19 2022 +0100

windowscodecsext/tests: Enable compilation with long types.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Esme Povirk <esme at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/windowscodecsext/tests/Makefile.in |  1 -
 dlls/windowscodecsext/tests/transform.c | 12 ++++++------
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/dlls/windowscodecsext/tests/Makefile.in b/dlls/windowscodecsext/tests/Makefile.in
index 22c052f8384..d99067ef296 100644
--- a/dlls/windowscodecsext/tests/Makefile.in
+++ b/dlls/windowscodecsext/tests/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 TESTDLL   = windowscodecsext.dll
 IMPORTS   = windowscodecsext ole32
 
diff --git a/dlls/windowscodecsext/tests/transform.c b/dlls/windowscodecsext/tests/transform.c
index e76f9fe8a4f..01f0d8a289e 100644
--- a/dlls/windowscodecsext/tests/transform.c
+++ b/dlls/windowscodecsext/tests/transform.c
@@ -32,28 +32,28 @@ static void test_WICCreateColorTransform_Proxy(void)
     IWICColorTransform *transform;
 
     hr = WICCreateColorTransform_Proxy( NULL );
-    ok( hr == E_INVALIDARG, "got %08x\n", hr );
+    ok( hr == E_INVALIDARG, "got %08lx\n", hr );
 
     transform = NULL;
     hr = WICCreateColorTransform_Proxy( &transform );
-    ok( hr == S_OK, "got %08x\n", hr );
+    ok( hr == S_OK, "got %08lx\n", hr );
     if (transform) IWICColorTransform_Release( transform );
 
     hr = CoInitializeEx( NULL, COINIT_APARTMENTTHREADED );
-    ok( hr == S_OK, "got %08x\n", hr );
+    ok( hr == S_OK, "got %08lx\n", hr );
 
     transform = NULL;
     hr = WICCreateColorTransform_Proxy( &transform );
-    ok( hr == S_OK, "got %08x\n", hr );
+    ok( hr == S_OK, "got %08lx\n", hr );
     if (transform) IWICColorTransform_Release( transform );
     CoUninitialize();
 
     hr = CoInitializeEx( NULL, COINIT_MULTITHREADED );
-    ok( hr == S_OK, "got %08x\n", hr );
+    ok( hr == S_OK, "got %08lx\n", hr );
 
     transform = NULL;
     hr = WICCreateColorTransform_Proxy( &transform );
-    ok( hr == S_OK, "got %08x\n", hr );
+    ok( hr == S_OK, "got %08lx\n", hr );
     if (transform) IWICColorTransform_Release( transform );
     CoUninitialize();
 }




More information about the wine-cvs mailing list