From a35335c64647812bb80f9e0a1025891b01367849 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 10 Jan 2011 21:43:46 -0500 Subject: [PATCH] Use NSUInteger rather than unsigned in BSLineNumberView.m --- Source/BSLineNumberView.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/BSLineNumberView.m b/Source/BSLineNumberView.m index 1e4a41d..b25d70c 100644 --- a/Source/BSLineNumberView.m +++ b/Source/BSLineNumberView.m @@ -66,7 +66,7 @@ lineNumberRange = NSMakeRange(0, 0); - unsigned i = 0, line = 1; + NSUInteger i = 0, line = 1; while (i < [[[sourceView textView] layoutManager] numberOfGlyphs]) { NSRange fragRange; @@ -107,8 +107,8 @@ NSPoint clickLoc = [self convertPoint:[event locationInWindow] fromView:nil]; - unsigned line = 1; - unsigned i = 0; + NSUInteger line = 1; + NSUInteger i = 0; while (i < [[textView layoutManager] numberOfGlyphs]) { NSRange fragRange; -- 2.43.5