From 7af23e44bee798336b84a6b16c8141f76d702533 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 10 Jan 2011 21:42:37 -0500 Subject: [PATCH] Update BreakpointManager.{h,m} with the correct types --- Source/BreakpointManager.h | 4 ++-- Source/BreakpointManager.m | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/BreakpointManager.h b/Source/BreakpointManager.h index 87ee349..f553393 100644 --- a/Source/BreakpointManager.h +++ b/Source/BreakpointManager.h @@ -31,8 +31,8 @@ + (BreakpointManager*)sharedManager; - (void)addBreakpoint:(Breakpoint*)bp; -- (Breakpoint*)removeBreakpointAt:(int)line inFile:(NSString*)file; +- (Breakpoint*)removeBreakpointAt:(NSUInteger)line inFile:(NSString*)file; - (NSArray*)breakpointsForFile:(NSString*)file; -- (BOOL)hasBreakpointAt:(int)line inFile:(NSString*)file; +- (BOOL)hasBreakpointAt:(NSUInteger)line inFile:(NSString*)file; @end diff --git a/Source/BreakpointManager.m b/Source/BreakpointManager.m index 0407a47..f60cb87 100644 --- a/Source/BreakpointManager.m +++ b/Source/BreakpointManager.m @@ -82,7 +82,7 @@ /** * Removes a breakpoint at a given line/file combination, or nil if nothing was removed */ -- (Breakpoint*)removeBreakpointAt:(int)line inFile:(NSString*)file +- (Breakpoint*)removeBreakpointAt:(NSUInteger)line inFile:(NSString*)file { for (Breakpoint* b in breakpoints) { @@ -121,7 +121,7 @@ /** * Checks to see if a given file has a breakpoint on a given line */ -- (BOOL)hasBreakpointAt:(int)line inFile:(NSString*)file +- (BOOL)hasBreakpointAt:(NSUInteger)line inFile:(NSString*)file { return [breakpoints containsObject:[[[Breakpoint alloc] initWithLine:line inFile:file] autorelease]]; } -- 2.22.5