Eric Pouech : windows.globalization: Enable compilation with long types.
Alexandre Julliard
julliard at winehq.org
Tue Feb 22 16:06:50 CST 2022
Module: wine
Branch: master
Commit: 05f0b754bc64fb787b7c9b44819888234c441e29
URL: https://source.winehq.org/git/wine.git/?a=commit;h=05f0b754bc64fb787b7c9b44819888234c441e29
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Tue Feb 22 09:42:28 2022 +0100
windows.globalization: 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/windows.globalization/Makefile.in | 1 -
dlls/windows.globalization/main.c | 8 ++++----
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/dlls/windows.globalization/Makefile.in b/dlls/windows.globalization/Makefile.in
index 84e78eb2842..d29c44ea746 100644
--- a/dlls/windows.globalization/Makefile.in
+++ b/dlls/windows.globalization/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = windows.globalization.dll
IMPORTS = combase uuid
diff --git a/dlls/windows.globalization/main.c b/dlls/windows.globalization/main.c
index e8fcd46ef63..3e5a59bde14 100644
--- a/dlls/windows.globalization/main.c
+++ b/dlls/windows.globalization/main.c
@@ -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;
}
More information about the wine-cvs
mailing list