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

Eric Pouech eric.pouech at gmail.com
Thu Mar 10 01:47:35 CST 2022


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

---
 dlls/wpc/tests/Makefile.in |    1 -
 dlls/wpc/tests/wpc.c       |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/wpc/tests/Makefile.in b/dlls/wpc/tests/Makefile.in
index 45098b8fbf9..72f550d576f 100644
--- a/dlls/wpc/tests/Makefile.in
+++ b/dlls/wpc/tests/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 TESTDLL = wpc.dll
 IMPORTS = ole32
 
diff --git a/dlls/wpc/tests/wpc.c b/dlls/wpc/tests/wpc.c
index 2cf35ccf6ec..3dbf595a9a7 100644
--- a/dlls/wpc/tests/wpc.c
+++ b/dlls/wpc/tests/wpc.c
@@ -32,7 +32,7 @@ static void test_wpc(void)
     if(hres == REGDB_E_CLASSNOTREG)
         win_skip("CLSID_WindowsParentalControls not registered\n");
     else
-        ok(hres == S_OK, "Could not create CLSID_WindowsParentalControls instance: %08x\n", hres);
+        ok(hres == S_OK, "Could not create CLSID_WindowsParentalControls instance: %08lx\n", hres);
     if(FAILED(hres))
         return;
 




More information about the wine-devel mailing list