From f4ebbf89ed1a04a268d932a94bf9f77c1b11c900 Mon Sep 17 00:00:00 2001 From: theraven Date: Thu, 31 Jan 2013 09:04:21 +0000 Subject: [PATCH] Fix warnings in NSForm. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36046 72102866-910b-0410-8b05-ffd578937521 --- Source/NSForm.m | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Source/NSForm.m b/Source/NSForm.m index 231872c08..1c6c20c08 100644 --- a/Source/NSForm.m +++ b/Source/NSForm.m @@ -59,16 +59,16 @@ static Class defaultCellClass = nil; } - (id) initWithFrame: (NSRect)frameRect - mode: (int)aMode + mode: (NSMatrixMode)aMode cellClass: (Class)class numberOfRows: (NSInteger)rowsHigh numberOfColumns: (NSInteger)colsWide { - self = [super initWithFrame: (NSRect)frameRect - mode: (int)aMode - cellClass: (Class)class - numberOfRows: (NSInteger)rowsHigh - numberOfColumns: (NSInteger)colsWide]; + self = [super initWithFrame: frameRect + mode: aMode + cellClass: class + numberOfRows: rowsHigh + numberOfColumns: colsWide]; if (nil == self) return nil; @@ -77,16 +77,16 @@ static Class defaultCellClass = nil; } - (id) initWithFrame: (NSRect)frameRect - mode: (int)aMode + mode: (NSMatrixMode)aMode prototype: (NSCell*)prototype numberOfRows: (NSInteger)rowsHigh numberOfColumns: (NSInteger)colsWide { - self = [super initWithFrame: (NSRect)frameRect - mode: (int)aMode - prototype: (NSCell*)prototype - numberOfRows: (NSInteger)rowsHigh - numberOfColumns: (NSInteger)colsWide]; + self = [super initWithFrame: frameRect + mode: aMode + prototype: prototype + numberOfRows: rowsHigh + numberOfColumns: colsWide]; if (nil == self) return nil;