From e15cc29e2f816f4c03f0c4a351a8192fb8c95849 Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 28 Mar 2019 14:19:09 -0700 Subject: [PATCH] Fixed: CPBezierPath used parameter types NSInteger CPBezierPath has parameter type NSInteger. Assumed meant to be CPInteger --- AppKit/CPBezierPath.j | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AppKit/CPBezierPath.j b/AppKit/CPBezierPath.j index e6354fc51..1a9cc4c51 100644 --- a/AppKit/CPBezierPath.j +++ b/AppKit/CPBezierPath.j @@ -231,7 +231,7 @@ var DefaultLineWidth = 1.0; /*! Cocoa compatibility. */ -- (void)getLineDash:(CPArrayRef)patternRef count:(NSInteger)count phase:(CGFloatRef)phaseRef +- (void)getLineDash:(CPArrayRef)patternRef count:(CPInteger)count phase:(CGFloatRef)phaseRef { return [self getLineDash:patternRef phase:phaseRef]; } @@ -250,7 +250,7 @@ var DefaultLineWidth = 1.0; /*! Cocoa compatibility. */ -- (void)setLineDash:(CPArray)aPattern count:(NSInteger)count phase:(CGFloat)aPhase +- (void)setLineDash:(CPArray)aPattern count:(CPInteger)count phase:(CGFloat)aPhase { [self setLineDash:aPattern phase:aPhase]; }