Replace some occurences of int with NSInteger

and unsigned with NSUInteger. This allows to recompile gui on 
64 bit systems after the change to NSNotFound in base.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34312 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2011-12-17 17:16:09 +00:00
parent d648b7ca14
commit ccf59ac3ca
35 changed files with 248 additions and 214 deletions

View file

@ -103,22 +103,22 @@ static Class cellClass;
[_cell setCriticalValue: val];
}
- (int) numberOfMajorTickMarks
- (NSInteger) numberOfMajorTickMarks
{
return [_cell numberOfMajorTickMarks];
}
- (void) setNumberOfMajorTickMarks: (int)count
- (void) setNumberOfMajorTickMarks: (NSInteger)count
{
[_cell setNumberOfMajorTickMarks: count];
}
- (int) numberOfTickMarks
- (NSInteger) numberOfTickMarks
{
return [_cell numberOfTickMarks];
}
- (void) setNumberOfTickMarks: (int)count
- (void) setNumberOfTickMarks: (NSInteger)count
{
[_cell setNumberOfTickMarks: count];
}
@ -133,12 +133,12 @@ static Class cellClass;
[_cell setTickMarkPosition:pos];
}
- (double) tickMarkValueAtIndex: (int)index
- (double) tickMarkValueAtIndex: (NSInteger)index
{
return [_cell tickMarkValueAtIndex:index];
}
- (NSRect) rectOfTickMarkAtIndex: (int)index
- (NSRect) rectOfTickMarkAtIndex: (NSInteger)index
{
return [_cell rectOfTickMarkAtIndex:index];
}