windows.devices.enumeration: 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-22 09:42:22 +01:00 committed by Alexandre Julliard
parent fe017525a8
commit de20523464
2 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,3 @@
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = windows.devices.enumeration.dll
IMPORTS = combase uuid

View File

@ -82,7 +82,7 @@ static ULONG STDMETHODCALLTYPE windows_devices_enumeration_AddRef(
{
struct windows_devices_enumeration *impl = impl_from_IActivationFactory(iface);
ULONG ref = InterlockedIncrement(&impl->ref);
TRACE("iface %p, ref %u.\n", iface, ref);
TRACE("iface %p, ref %lu.\n", iface, ref);
return ref;
}
@ -91,7 +91,7 @@ static ULONG STDMETHODCALLTYPE windows_devices_enumeration_Release(
{
struct windows_devices_enumeration *impl = impl_from_IActivationFactory(iface);
ULONG ref = InterlockedDecrement(&impl->ref);
TRACE("iface %p, ref %u.\n", iface, ref);
TRACE("iface %p, ref %lu.\n", iface, ref);
return ref;
}