Browse Source

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

tags/2021-05-28
Timur Doumler 10 years ago
parent
commit
b9bfc8c322
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_osc/osc/juce_OSCReceiver.cpp

+ 1
- 1
modules/juce_osc/osc/juce_OSCReceiver.cpp 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");


Loading…
Cancel
Save