1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-25 02:04:23 +00:00

Small tweak for 64-bit compatibility on Mac.

This commit is contained in:
jules 2009-02-04 14:29:55 +00:00
parent 59fd199164
commit f92fdfefe9
2 changed files with 3 additions and 2 deletions

View file

@ -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;

View file

@ -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;