Eric Pouech : uiribbon: Enable compilation with long types.

Alexandre Julliard julliard at winehq.org
Fri Feb 18 15:14:59 CST 2022


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

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Fri Feb 18 09:18:04 2022 +0100

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

diff --git a/dlls/uiribbon/Makefile.in b/dlls/uiribbon/Makefile.in
index 19753ea19ed..0b9724d87a9 100644
--- a/dlls/uiribbon/Makefile.in
+++ b/dlls/uiribbon/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE    = uiribbon.dll
 IMPORTS   = uuid ole32
 
diff --git a/dlls/uiribbon/uiribbon.c b/dlls/uiribbon/uiribbon.c
index 18cb4870f9a..38fd60cd533 100644
--- a/dlls/uiribbon/uiribbon.c
+++ b/dlls/uiribbon/uiribbon.c
@@ -56,7 +56,7 @@ static ULONG WINAPI UIRibbonFrameworkImpl_AddRef(IUIFramework *iface)
     UIRibbonFrameworkImpl *This = impl_from_IUIFramework(iface);
     ULONG ref = InterlockedIncrement(&This->ref);
 
-    TRACE("(%p/%p)->(): new ref %d\n", iface, This, ref);
+    TRACE("(%p/%p)->(): new ref %ld\n", iface, This, ref);
 
     return ref;
 }
@@ -66,7 +66,7 @@ static ULONG WINAPI UIRibbonFrameworkImpl_Release(IUIFramework *iface)
     UIRibbonFrameworkImpl *This = impl_from_IUIFramework(iface);
     ULONG ref = InterlockedDecrement(&This->ref);
 
-    TRACE("(%p/%p)->(): new ref %d\n", iface, This, ref);
+    TRACE("(%p/%p)->(): new ref %ld\n", iface, This, ref);
 
     if (!ref)
         HeapFree(GetProcessHeap(), 0, This);




More information about the wine-cvs mailing list