From 50be983db50d38e41e1ee3ed2a23f345a7e9a475 Mon Sep 17 00:00:00 2001 From: Tom Poole Date: Mon, 17 Jun 2019 14:21:01 +0100 Subject: [PATCH] Fixed a compiler warning --- .../juce_audio_formats/codecs/juce_WindowsMediaAudioFormat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_audio_formats/codecs/juce_WindowsMediaAudioFormat.cpp b/modules/juce_audio_formats/codecs/juce_WindowsMediaAudioFormat.cpp index 71011e457a..0168893740 100644 --- a/modules/juce_audio_formats/codecs/juce_WindowsMediaAudioFormat.cpp +++ b/modules/juce_audio_formats/codecs/juce_WindowsMediaAudioFormat.cpp @@ -51,7 +51,7 @@ public: auto numRead = source.read (dest, (size_t) numBytes); if (bytesRead != nullptr) - *bytesRead = numRead; + *bytesRead = (ULONG) numRead; return (numRead == (int) numBytes) ? S_OK : S_FALSE; }