Eric Pouech : ctapi32: Enable compilation with long types.

Alexandre Julliard julliard at winehq.org
Mon Feb 21 16:15:13 CST 2022


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

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Mon Feb 21 07:59:49 2022 +0100

ctapi32: 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/ctapi32/Makefile.in | 1 -
 dlls/ctapi32/ctapi32.c   | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/ctapi32/Makefile.in b/dlls/ctapi32/Makefile.in
index 69e8728873b..fa13d24540c 100644
--- a/dlls/ctapi32/Makefile.in
+++ b/dlls/ctapi32/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE    = ctapi32.dll
 UNIXLIB   = ctapi32.so
 IMPORTS   = advapi32
diff --git a/dlls/ctapi32/ctapi32.c b/dlls/ctapi32/ctapi32.c
index 5d5060ace47..0f0ee399e1c 100644
--- a/dlls/ctapi32/ctapi32.c
+++ b/dlls/ctapi32/ctapi32.c
@@ -98,7 +98,7 @@ IS8 WINAPI CT_close(IU16 ctn)
  */
 BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
 {
-    TRACE("%p,%x,%p\n", hinstDLL, fdwReason, lpvReserved);
+    TRACE("%p,%lx,%p\n", hinstDLL, fdwReason, lpvReserved);
 
     switch (fdwReason)
     {




More information about the wine-cvs mailing list