aboutsummaryrefslogtreecommitdiff
path: root/AppKit/GTMNSBezierPath+CGPath.m
diff options
context:
space:
mode:
Diffstat (limited to 'AppKit/GTMNSBezierPath+CGPath.m')
-rw-r--r--AppKit/GTMNSBezierPath+CGPath.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/AppKit/GTMNSBezierPath+CGPath.m b/AppKit/GTMNSBezierPath+CGPath.m
index c805f42..3bc6de9 100644
--- a/AppKit/GTMNSBezierPath+CGPath.m
+++ b/AppKit/GTMNSBezierPath+CGPath.m
@@ -1,5 +1,5 @@
//
-// GTMNSBezierPath+CGPath.h
+// GTMNSBezierPath+CGPath.m
//
// Category for extracting a CGPathRef from a NSBezierPath
//
@@ -33,13 +33,13 @@
CGMutablePathRef thePath = CGPathCreateMutable();
if (!thePath) return nil;
- unsigned int elementCount = [self elementCount];
+ NSInteger elementCount = [self elementCount];
// The maximum number of points is 3 for a NSCurveToBezierPathElement.
// (controlPoint1, controlPoint2, and endPoint)
NSPoint controlPoints[3];
- for (unsigned int i = 0; i < elementCount; i++) {
+ for (NSInteger i = 0; i < elementCount; i++) {
switch ([self elementAtIndex:i associatedPoints:controlPoints]) {
case NSMoveToBezierPathElement:
CGPathMoveToPoint(thePath, &CGAffineTransformIdentity,