summaryrefslogtreecommitdiff
path: root/cocoa/plotter.m
diff options
context:
space:
mode:
authorSven Weidauer <sven.weidauer@gmail.com>2011-01-23 19:32:56 +0000
committerSven Weidauer <sven.weidauer@gmail.com>2011-01-23 19:32:56 +0000
commitdd1e7b893ba5a4b796c848d751f7c73872a47cdb (patch)
treecd945f62ae69c5f7844617bf215a2ca6f2ceb027 /cocoa/plotter.m
parentf9ad37983008cef312e1bcab78d8f92c6ecf1ec3 (diff)
downloadnetsurf-dd1e7b893ba5a4b796c848d751f7c73872a47cdb.tar.gz
netsurf-dd1e7b893ba5a4b796c848d751f7c73872a47cdb.tar.bz2
Activating (and fixing) more warnings in Xcode
svn path=/trunk/netsurf/; revision=11469
Diffstat (limited to 'cocoa/plotter.m')
-rw-r--r--cocoa/plotter.m2
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];