From f90bcf3263b80b96754977ddbd5309704cf817fb Mon Sep 17 00:00:00 2001 From: thomasvl Date: Fri, 9 May 2008 18:53:09 +0000 Subject: Flush out suppport for 64bit, GC support. Added some more xcode configs related to the above. Removed some classes that the unittesting doesn't need (and aren't able to support 64bit). add base64, httpfetcher, and progress monitor stream. --- AppKit/GTMNSBezierPath+CGPathTest.m | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'AppKit/GTMNSBezierPath+CGPathTest.m') diff --git a/AppKit/GTMNSBezierPath+CGPathTest.m b/AppKit/GTMNSBezierPath+CGPathTest.m index 3ca11c3..e22ee07 100644 --- a/AppKit/GTMNSBezierPath+CGPathTest.m +++ b/AppKit/GTMNSBezierPath+CGPathTest.m @@ -36,11 +36,11 @@ // Draws all of our tests so that we can compare this to our stored image file. - (void)gtm_unitTestViewDrawRect:(NSRect)rect contextInfo:(void*)contextInfo{ NSBezierPath *thePath = [NSBezierPath bezierPath]; - NSPoint theStart = NSMakePoint(20.0f, 20.0f); + NSPoint theStart = NSMakePoint(20.0, 20.0); // Test moveto/lineto [thePath moveToPoint: theStart]; - for (unsigned int i = 0; i < 10; ++i) { + for (NSUInteger i = 0; i < 10; ++i) { NSPoint theNewPoint = NSMakePoint(i * 5, i * 10); [thePath lineToPoint: theNewPoint]; theNewPoint = NSMakePoint(i * 2, i * 6); @@ -48,11 +48,11 @@ } // Test moveto/curveto - for (unsigned int i = 0; i < 10; ++i) { - NSPoint startPoint = NSMakePoint(5.0f, 50.0f); - NSPoint endPoint = NSMakePoint(55.0f, 50.0f); - NSPoint controlPoint1 = NSMakePoint(17.5f, 50.0f + 5.0f * i); - NSPoint controlPoint2 = NSMakePoint(42.5f, 50.0f - 5.0f * i); + for (NSUInteger i = 0; i < 10; ++i) { + NSPoint startPoint = NSMakePoint(5.0, 50.0); + NSPoint endPoint = NSMakePoint(55.0, 50.0); + NSPoint controlPoint1 = NSMakePoint(17.5, 50.0 + 5.0 * i); + NSPoint controlPoint2 = NSMakePoint(42.5, 50.0 - 5.0 * i); [thePath moveToPoint:startPoint]; [thePath curveToPoint:endPoint controlPoint1:controlPoint1 controlPoint2:controlPoint2]; } -- cgit v1.2.3