Eric Pouech : windows.devices.enumeration: Enable compilation with long types.
Alexandre Julliard
julliard at winehq.org
Tue Feb 22 16:06:50 CST 2022
Module: wine
Branch: master
Commit: de20523464606b542a559cf92380f4d215e72104
URL: https://source.winehq.org/git/wine.git/?a=commit;h=de20523464606b542a559cf92380f4d215e72104
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Tue Feb 22 09:42:22 2022 +0100
windows.devices.enumeration: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/windows.devices.enumeration/Makefile.in | 1 -
dlls/windows.devices.enumeration/main.c | 4 ++--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/windows.devices.enumeration/Makefile.in b/dlls/windows.devices.enumeration/Makefile.in
index dcac3c204c7..a2058b3d002 100644
--- a/dlls/windows.devices.enumeration/Makefile.in
+++ b/dlls/windows.devices.enumeration/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = windows.devices.enumeration.dll
IMPORTS = combase uuid
diff --git a/dlls/windows.devices.enumeration/main.c b/dlls/windows.devices.enumeration/main.c
index a2a13861a88..0e44251de08 100644
--- a/dlls/windows.devices.enumeration/main.c
+++ b/dlls/windows.devices.enumeration/main.c
@@ -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;
}
More information about the wine-cvs
mailing list