Browse Source

Added a couple of casts to keep Visual Studio happy

tags/2021-05-28
jules 8 years ago
parent
commit
f22317695b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_graphics/contexts/juce_GraphicsContext.cpp

+ 2
- 2
modules/juce_graphics/contexts/juce_GraphicsContext.cpp View File

@@ -536,8 +536,8 @@ void Graphics::fillCheckerBoard (Rectangle<float> area, float checkWidth, float
const int checkNumY = (int) ((clipped.getY() - area.getY()) / checkHeight); const int checkNumY = (int) ((clipped.getY() - area.getY()) / checkHeight);
const float startX = area.getX() + checkNumX * checkWidth; const float startX = area.getX() + checkNumX * checkWidth;
const float startY = area.getY() + checkNumY * checkHeight; 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) for (int i = 0; i < 2; ++i)
{ {


Loading…
Cancel
Save