From f92fdfefe971fb20274350d65e3fde675fadba63 Mon Sep 17 00:00:00 2001 From: jules Date: Wed, 4 Feb 2009 14:29:55 +0000 Subject: [PATCH] Small tweak for 64-bit compatibility on Mac. --- .../platform_specific_code/juce_mac_NSViewComponentPeer.mm | 2 +- juce_amalgamated.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build/macosx/platform_specific_code/juce_mac_NSViewComponentPeer.mm b/build/macosx/platform_specific_code/juce_mac_NSViewComponentPeer.mm index e40c19dd73..ed4b9f5cec 100644 --- a/build/macosx/platform_specific_code/juce_mac_NSViewComponentPeer.mm +++ b/build/macosx/platform_specific_code/juce_mac_NSViewComponentPeer.mm @@ -1321,7 +1321,7 @@ void NSViewComponentPeer::drawRect (NSRect r) context.setOrigin (originX, originY); const NSRect* rects = 0; - int numRects = 0; + NSInteger numRects = 0; [view getRectsBeingDrawn: &rects count: &numRects]; RectangleList clip; diff --git a/juce_amalgamated.cpp b/juce_amalgamated.cpp index 7851ac47af..beb42cb4f4 100644 --- a/juce_amalgamated.cpp +++ b/juce_amalgamated.cpp @@ -267136,7 +267136,8 @@ void NSViewComponentPeer::drawRect (NSRect r) context.setOrigin (originX, originY); const NSRect* rects = 0; - int numRects = 0; + NSInteger numRects = 0; + [view getRectsBeingDrawn: &rects count: &numRects]; RectangleList clip;