diff options
Diffstat (limited to 'cocoa/plotter.m')
-rw-r--r-- | cocoa/plotter.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/plotter.m b/cocoa/plotter.m index 9172d4851..cef0b8a99 100644 --- a/cocoa/plotter.m +++ b/cocoa/plotter.m @@ -159,7 +159,7 @@ static bool plot_polygon(const int *p, unsigned int n, const plot_style_t *pstyl NSBezierPath *path = [NSBezierPath bezierPath]; [path moveToPoint: NSMakePoint( p[0], p[1] )]; - for (int i = 1; i < n; i++) { + for (unsigned i = 1; i < n; i++) { [path lineToPoint: NSMakePoint( p[2*i], p[2*i+1] )]; } [path closePath]; |