1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed a compiler warning

This commit is contained in:
Tom Poole 2019-06-17 14:21:01 +01:00
parent 380a102390
commit 50be983db5

View file

@ -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;
}