From 11e45e902a435b795c2b623805aeb9a8fa010efe Mon Sep 17 00:00:00 2001 From: hogliux Date: Fri, 30 Jun 2017 11:29:28 +0100 Subject: [PATCH] Fixed a compiler error in MSVC in a recent commit when unit tests are enabled --- modules/juce_core/containers/juce_HashMap_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_core/containers/juce_HashMap_test.cpp b/modules/juce_core/containers/juce_HashMap_test.cpp index 45c006a318..9baa956a21 100644 --- a/modules/juce_core/containers/juce_HashMap_test.cpp +++ b/modules/juce_core/containers/juce_HashMap_test.cpp @@ -51,7 +51,7 @@ struct HashMapTest : public UnitTest auto value = valueOracle.nextInt(); bool contains = (groundTruth.find (key) != nullptr); - u.expectEquals (contains, hashMap.contains (key)); + u.expectEquals ((int) contains, (int) hashMap.contains (key)); groundTruth.add (key, value); hashMap.set (key, value);