windows.globalization: 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:
Eric Pouech 2022-02-22 09:42:28 +01:00 committed by Alexandre Julliard
parent de20523464
commit 05f0b754bc
2 changed files with 4 additions and 5 deletions

View file

@ -1,4 +1,3 @@
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = windows.globalization.dll
IMPORTS = combase uuid

View file

@ -87,7 +87,7 @@ static ULONG STDMETHODCALLTYPE hstring_vector_AddRef(IVectorView_HSTRING *iface)
{
struct hstring_vector *impl = impl_from_IVectorView_HSTRING(iface);
ULONG ref = InterlockedIncrement(&impl->ref);
TRACE("iface %p, ref %u.\n", iface, ref);
TRACE("iface %p, ref %lu.\n", iface, ref);
return ref;
}
@ -95,7 +95,7 @@ static ULONG STDMETHODCALLTYPE hstring_vector_Release(IVectorView_HSTRING *iface
{
struct hstring_vector *impl = impl_from_IVectorView_HSTRING(iface);
ULONG ref = InterlockedDecrement(&impl->ref);
TRACE("iface %p, ref %u.\n", iface, ref);
TRACE("iface %p, ref %lu.\n", iface, ref);
if (ref == 0)
{
while (impl->count--) WindowsDeleteString(impl->values[impl->count]);
@ -275,7 +275,7 @@ static ULONG STDMETHODCALLTYPE windows_globalization_AddRef(
{
struct windows_globalization *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;
}
@ -284,7 +284,7 @@ static ULONG STDMETHODCALLTYPE windows_globalization_Release(
{
struct windows_globalization *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;
}