From e965df1e8830c994da959ceaeb153d85fae7b859 Mon Sep 17 00:00:00 2001 From: Jaromir Wysoglad Date: Sat, 27 Jul 2019 01:06:35 +0200 Subject: TTS: Add TTS support when compiling with msvc. --- backends/text-to-speech/windows/sphelper-scummvm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/text-to-speech') diff --git a/backends/text-to-speech/windows/sphelper-scummvm.h b/backends/text-to-speech/windows/sphelper-scummvm.h index d910a65f67..d622fda593 100644 --- a/backends/text-to-speech/windows/sphelper-scummvm.h +++ b/backends/text-to-speech/windows/sphelper-scummvm.h @@ -1371,7 +1371,7 @@ public: WAVEFORMATEX * m_pCoMemWaveFormatEx; - static CoMemCopyWFEX(const WAVEFORMATEX * pSrc, WAVEFORMATEX ** ppCoMemWFEX) + static HRESULT CoMemCopyWFEX(const WAVEFORMATEX * pSrc, WAVEFORMATEX ** ppCoMemWFEX) { ULONG cb = sizeof(WAVEFORMATEX) + pSrc->cbSize; *ppCoMemWFEX = (WAVEFORMATEX *)::CoTaskMemAlloc(cb); -- cgit v1.2.3