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

Alexandre Julliard julliard at winehq.org
Thu Mar 10 16:10:14 CST 2022


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

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Thu Mar 10 08:47:35 2022 +0100

wpc/tests: Enable compilation with long types.

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

---

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