[PATCH 22/24] dlls/uiribbon: enable compilation with long types
Eric Pouech
eric.pouech at gmail.com
Fri Feb 18 02:18:04 CST 2022
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
---
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-devel
mailing list