Eric Pouech : dsquery: Enable compilation with long types.
Alexandre Julliard
julliard at winehq.org
Thu Feb 10 16:10:28 CST 2022
Module: wine
Branch: master
Commit: f72d53fce0a968bfffb410b903a727cda148e782
URL: https://source.winehq.org/git/wine.git/?a=commit;h=f72d53fce0a968bfffb410b903a727cda148e782
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Thu Feb 10 08:41:44 2022 +0100
dsquery: 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/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-cvs
mailing list