[PATCH 05/27] dlls/dsquery: enable compilation with long types

Eric Pouech eric.pouech at gmail.com
Thu Feb 10 01:41:44 CST 2022


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

---
 dlls/dsquery/Makefile.in |    1 -
 dlls/dsquery/main.c      |    8 ++++----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/dlls/dsquery/Makefile.in b/dlls/dsquery/Makefile.in
index 757d62b006b..611e6011575 100644
--- a/dlls/dsquery/Makefile.in
+++ b/dlls/dsquery/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE = dsquery.dll
 IMPORTS = uuid
 
diff --git a/dlls/dsquery/main.c b/dlls/dsquery/main.c
index 545ec36f321..06fe1e6e5f5 100644
--- a/dlls/dsquery/main.c
+++ b/dlls/dsquery/main.c
@@ -66,7 +66,7 @@ static ULONG WINAPI ClassFactory_AddRef(IClassFactory *iface)
     struct query_class_factory *This = impl_from_IClassFactory(iface);
     ULONG ref = InterlockedIncrement(&This->ref);
 
-    TRACE("(%p) increasing refcount to %u\n", iface, ref);
+    TRACE("(%p) increasing refcount to %lu\n", iface, ref);
 
     return ref;
 }
@@ -76,7 +76,7 @@ static ULONG WINAPI ClassFactory_Release(IClassFactory *iface)
     struct query_class_factory *This = impl_from_IClassFactory(iface);
     ULONG ref = InterlockedDecrement(&This->ref);
 
-    TRACE("(%p) decreasing refcount to %u\n", iface, ref);
+    TRACE("(%p) decreasing refcount to %lu\n", iface, ref);
 
     if (ref == 0)
         HeapFree(GetProcessHeap(), 0, This);
@@ -144,7 +144,7 @@ static ULONG WINAPI CommonQuery_AddRef(ICommonQuery *iface)
     struct common_query *This = impl_from_ICommonQuery(iface);
     ULONG ref = InterlockedIncrement(&This->ref);
 
-    TRACE("(%p) increasing refcount to %u\n", iface, ref);
+    TRACE("(%p) increasing refcount to %lu\n", iface, ref);
 
     return ref;
 }
@@ -154,7 +154,7 @@ static ULONG WINAPI CommonQuery_Release(ICommonQuery *iface)
     struct common_query *This = impl_from_ICommonQuery(iface);
     ULONG ref = InterlockedDecrement(&This->ref);
 
-    TRACE("(%p) decreasing refcount to %u\n", iface, ref);
+    TRACE("(%p) decreasing refcount to %lu\n", iface, ref);
 
     if (ref == 0)
         HeapFree(GetProcessHeap(), 0, This);




More information about the wine-devel mailing list