[PATCH 05/21] dlls/windows.devices.enumeration: enable compilation with long types

Eric Pouech eric.pouech at gmail.com
Tue Feb 22 02:42:22 CST 2022


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 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-devel mailing list