mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-07 04:14:06 +00:00
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:
parent
0077d80bd2
commit
189324805c
|
@ -1,4 +1,3 @@
|
|||
EXTRADEFS = -DWINE_NO_LONG_TYPES
|
||||
MODULE = uiribbon.dll
|
||||
IMPORTS = uuid ole32
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue