dsquery: 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:
parent
97e6f05caf
commit
f72d53fce0
|
@ -1,4 +1,3 @@
|
|||
EXTRADEFS = -DWINE_NO_LONG_TYPES
|
||||
MODULE = dsquery.dll
|
||||
IMPORTS = uuid
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue