From b9bfc8c3222774ad2b833dca64a8f8ff53cbe048 Mon Sep 17 00:00:00 2001 From: Timur Doumler Date: Mon, 7 Dec 2015 12:31:03 +0000 Subject: [PATCH] OSCReceiver: fixed a warning when compiling with Visual Studio for 32-bit. --- modules/juce_osc/osc/juce_OSCReceiver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_osc/osc/juce_OSCReceiver.cpp b/modules/juce_osc/osc/juce_OSCReceiver.cpp index 743d7543cd..326bb6ab10 100644 --- a/modules/juce_osc/osc/juce_OSCReceiver.cpp +++ b/modules/juce_osc/osc/juce_OSCReceiver.cpp @@ -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");