uiribbon: Enable compilation with long types.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2022-02-18 09:18:04 +01:00 committed by Alexandre Julliard
parent 0077d80bd2
commit 189324805c
2 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,3 @@
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = uiribbon.dll
IMPORTS = uuid ole32

View File

@ -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);