Commit 18932480 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

uiribbon: Enable compilation with long types.

parent 0077d80b
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = uiribbon.dll MODULE = uiribbon.dll
IMPORTS = uuid ole32 IMPORTS = uuid ole32
......
...@@ -56,7 +56,7 @@ static ULONG WINAPI UIRibbonFrameworkImpl_AddRef(IUIFramework *iface) ...@@ -56,7 +56,7 @@ static ULONG WINAPI UIRibbonFrameworkImpl_AddRef(IUIFramework *iface)
UIRibbonFrameworkImpl *This = impl_from_IUIFramework(iface); UIRibbonFrameworkImpl *This = impl_from_IUIFramework(iface);
ULONG ref = InterlockedIncrement(&This->ref); 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; return ref;
} }
...@@ -66,7 +66,7 @@ static ULONG WINAPI UIRibbonFrameworkImpl_Release(IUIFramework *iface) ...@@ -66,7 +66,7 @@ static ULONG WINAPI UIRibbonFrameworkImpl_Release(IUIFramework *iface)
UIRibbonFrameworkImpl *This = impl_from_IUIFramework(iface); UIRibbonFrameworkImpl *This = impl_from_IUIFramework(iface);
ULONG ref = InterlockedDecrement(&This->ref); 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) if (!ref)
HeapFree(GetProcessHeap(), 0, This); HeapFree(GetProcessHeap(), 0, This);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment