[PATCH] dlls/windowscodecsext/tests: enable compilation with long types

Eric Pouech eric.pouech at gmail.com
Wed Mar 9 01:21:19 CST 2022


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 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-devel mailing list