diff --git a/modules/juce_core/maths/juce_BigInteger.cpp b/modules/juce_core/maths/juce_BigInteger.cpp index 96af53672a..351f4f520a 100644 --- a/modules/juce_core/maths/juce_BigInteger.cpp +++ b/modules/juce_core/maths/juce_BigInteger.cpp @@ -1324,9 +1324,9 @@ public: for (int j = 100000; --j >= 0;) { - uint32 offset = r.nextInt (200) + 10; - uint32 num = r.nextInt (32) + 1; - uint32 value = r.nextInt(); + uint32 offset = static_cast (r.nextInt (200) + 10); + uint32 num = static_cast (r.nextInt (32) + 1); + uint32 value = static_cast (r.nextInt()); if (num < 32) value &= ((1u << num) - 1);