Commit f72d53fc authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dsquery: Enable compilation with long types.

parent 97e6f05c
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = dsquery.dll MODULE = dsquery.dll
IMPORTS = uuid IMPORTS = uuid
......
...@@ -66,7 +66,7 @@ static ULONG WINAPI ClassFactory_AddRef(IClassFactory *iface) ...@@ -66,7 +66,7 @@ static ULONG WINAPI ClassFactory_AddRef(IClassFactory *iface)
struct query_class_factory *This = impl_from_IClassFactory(iface); struct query_class_factory *This = impl_from_IClassFactory(iface);
ULONG ref = InterlockedIncrement(&This->ref); 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; return ref;
} }
...@@ -76,7 +76,7 @@ static ULONG WINAPI ClassFactory_Release(IClassFactory *iface) ...@@ -76,7 +76,7 @@ static ULONG WINAPI ClassFactory_Release(IClassFactory *iface)
struct query_class_factory *This = impl_from_IClassFactory(iface); struct query_class_factory *This = impl_from_IClassFactory(iface);
ULONG ref = InterlockedDecrement(&This->ref); 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) if (ref == 0)
HeapFree(GetProcessHeap(), 0, This); HeapFree(GetProcessHeap(), 0, This);
...@@ -144,7 +144,7 @@ static ULONG WINAPI CommonQuery_AddRef(ICommonQuery *iface) ...@@ -144,7 +144,7 @@ static ULONG WINAPI CommonQuery_AddRef(ICommonQuery *iface)
struct common_query *This = impl_from_ICommonQuery(iface); struct common_query *This = impl_from_ICommonQuery(iface);
ULONG ref = InterlockedIncrement(&This->ref); 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; return ref;
} }
...@@ -154,7 +154,7 @@ static ULONG WINAPI CommonQuery_Release(ICommonQuery *iface) ...@@ -154,7 +154,7 @@ static ULONG WINAPI CommonQuery_Release(ICommonQuery *iface)
struct common_query *This = impl_from_ICommonQuery(iface); struct common_query *This = impl_from_ICommonQuery(iface);
ULONG ref = InterlockedDecrement(&This->ref); 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) if (ref == 0)
HeapFree(GetProcessHeap(), 0, This); HeapFree(GetProcessHeap(), 0, This);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment