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

OSCReceiver: fixed a warning when compiling with Visual Studio for 32-bit.

This commit is contained in:
Timur Doumler 2015-12-07 12:31:03 +00:00
parent 39bba51d65
commit b9bfc8c322

View file

@ -114,7 +114,7 @@ namespace
if (input.getNumBytesRemaining() < 4)
throw OSCFormatError ("OSC input stream exhausted while reading blob");
const int64 blobDataSize = input.readIntBigEndian();
const size_t blobDataSize = input.readIntBigEndian();
if (input.getNumBytesRemaining() < (blobDataSize + 3) % 4)
throw OSCFormatError ("OSC input stream exhausted before reaching end of blob");