[PATCH 08/21] dlls/windows.media.speech: enable compilation with long types
Eric Pouech
eric.pouech at gmail.com
Tue Feb 22 02:42:40 CST 2022
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
---
dlls/windows.media.speech/Makefile.in | 1 -
dlls/windows.media.speech/main.c | 16 ++++++++--------
2 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/dlls/windows.media.speech/Makefile.in b/dlls/windows.media.speech/Makefile.in
index fc01608d62c..9fbff8e132f 100644
--- a/dlls/windows.media.speech/Makefile.in
+++ b/dlls/windows.media.speech/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = windows.media.speech.dll
IMPORTS = combase uuid
diff --git a/dlls/windows.media.speech/main.c b/dlls/windows.media.speech/main.c
index b607f9a8203..d14d06773f7 100644
--- a/dlls/windows.media.speech/main.c
+++ b/dlls/windows.media.speech/main.c
@@ -81,7 +81,7 @@ static ULONG STDMETHODCALLTYPE vector_view_voice_information_AddRef(
{
struct voice_information_vector *impl = impl_from_IVectorView_VoiceInformation(iface);
ULONG ref = InterlockedIncrement(&impl->ref);
- TRACE("iface %p, ref %u.\n", iface, ref);
+ TRACE("iface %p, ref %lu.\n", iface, ref);
return ref;
}
@@ -90,7 +90,7 @@ static ULONG STDMETHODCALLTYPE vector_view_voice_information_Release(
{
struct voice_information_vector *impl = impl_from_IVectorView_VoiceInformation(iface);
ULONG ref = InterlockedDecrement(&impl->ref);
- TRACE("iface %p, ref %u.\n", iface, ref);
+ TRACE("iface %p, ref %lu.\n", iface, ref);
return ref;
}
@@ -222,7 +222,7 @@ static ULONG STDMETHODCALLTYPE speech_synthesizer_AddRef(
struct speech_synthesizer *impl = impl_from_ISpeechSynthesizer(iface);
ULONG ref = InterlockedIncrement(&impl->ref);
- TRACE("iface %p, ref %u.\n", iface, ref);
+ TRACE("iface %p, ref %lu.\n", iface, ref);
return ref;
}
@@ -233,7 +233,7 @@ static ULONG STDMETHODCALLTYPE speech_synthesizer_Release(
struct speech_synthesizer *impl = impl_from_ISpeechSynthesizer(iface);
ULONG ref = InterlockedDecrement(&impl->ref);
- TRACE("iface %p, ref %u.\n", iface, ref);
+ TRACE("iface %p, ref %lu.\n", iface, ref);
if (!ref)
free(impl);
@@ -326,7 +326,7 @@ static ULONG STDMETHODCALLTYPE closable_AddRef(
struct speech_synthesizer *impl = impl_from_IClosable(iface);
ULONG ref = InterlockedIncrement(&impl->ref);
- TRACE("iface %p, ref %u.\n", iface, ref);
+ TRACE("iface %p, ref %lu.\n", iface, ref);
return ref;
}
@@ -337,7 +337,7 @@ static ULONG STDMETHODCALLTYPE closable_Release(
struct speech_synthesizer *impl = impl_from_IClosable(iface);
ULONG ref = InterlockedDecrement(&impl->ref);
- TRACE("iface %p, ref %u.\n", iface, ref);
+ TRACE("iface %p, ref %lu.\n", iface, ref);
if (!ref)
free(impl);
@@ -442,7 +442,7 @@ static ULONG STDMETHODCALLTYPE windows_media_speech_AddRef(
{
struct windows_media_speech *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;
}
@@ -451,7 +451,7 @@ static ULONG STDMETHODCALLTYPE windows_media_speech_Release(
{
struct windows_media_speech *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-devel
mailing list