mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 19:20:37 +00:00
(-setPath:, pathToColumn:, -addColumn):
Removed compiler warning about signed/unsigned comparision. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16888 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d02bdec0cf
commit
1008669e51
1 changed files with 4 additions and 2 deletions
|
@ -554,6 +554,8 @@ static NSTextFieldCell *titleCell;
|
|||
*/
|
||||
if (column == 0)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i <= _lastColumnLoaded && numberOfSubStrings > 0; i++)
|
||||
{
|
||||
NSString *c = [[self selectedCellInColumn: i] stringValue];
|
||||
|
@ -656,8 +658,8 @@ static NSTextFieldCell *titleCell;
|
|||
- (NSString *) pathToColumn: (int)column
|
||||
{
|
||||
NSMutableString *s = [_pathSeparator mutableCopy];
|
||||
unsigned i;
|
||||
NSString *string;
|
||||
int i;
|
||||
|
||||
/*
|
||||
* Cannot go past the number of loaded columns
|
||||
|
@ -744,7 +746,7 @@ static NSTextFieldCell *titleCell;
|
|||
{
|
||||
int i;
|
||||
|
||||
if (_lastColumnLoaded + 1 >= [_browserColumns count])
|
||||
if ((unsigned)(_lastColumnLoaded + 1) >= [_browserColumns count])
|
||||
{
|
||||
i = [_browserColumns indexOfObject: [self _createColumn]];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue