From f22317695b3fe0abe5a49d9f13735fe1e69f5792 Mon Sep 17 00:00:00 2001 From: jules Date: Wed, 6 Dec 2017 17:48:41 +0000 Subject: [PATCH] Added a couple of casts to keep Visual Studio happy --- modules/juce_graphics/contexts/juce_GraphicsContext.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_graphics/contexts/juce_GraphicsContext.cpp b/modules/juce_graphics/contexts/juce_GraphicsContext.cpp index 5f1ae7e11d..fe9910e0b3 100644 --- a/modules/juce_graphics/contexts/juce_GraphicsContext.cpp +++ b/modules/juce_graphics/contexts/juce_GraphicsContext.cpp @@ -536,8 +536,8 @@ void Graphics::fillCheckerBoard (Rectangle area, float checkWidth, float const int checkNumY = (int) ((clipped.getY() - area.getY()) / checkHeight); const float startX = area.getX() + checkNumX * checkWidth; const float startY = area.getY() + checkNumY * checkHeight; - const float right = clipped.getRight(); - const float bottom = clipped.getBottom(); + const float right = (float) clipped.getRight(); + const float bottom = (float) clipped.getBottom(); for (int i = 0; i < 2; ++i) {