Fix NSUInteger / unsigned mismatch.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36031 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Chisnall 2013-01-28 14:04:38 +00:00
parent 2e946568b1
commit b259b857d0
3 changed files with 3 additions and 3 deletions

View file

@ -465,7 +465,7 @@ NSImage *browserImage = nil;
}
//--- IBSelectionOwners protocol ---
- (unsigned) selectionCount
- (NSUInteger) selectionCount
{
return ([outlineView selectedRow] == -1)?0:1;
}

View file

@ -508,7 +508,7 @@ objectValueForTableColumn: (NSTableColumn *)tc
{
NSArray *list = [classManager allClassNames];
NSString *stringValue = [searchText stringValue];
int index = [list indexOfObject: stringValue];
NSInteger index = [list indexOfObject: stringValue];
NSLog(@"Search... %@",[searchText stringValue]);
if(index != NSNotFound && list != nil &&

View file

@ -49,7 +49,7 @@ IB_EXTERN NSString *IBClassNameChangedNotification;
/**
* The number of currently selected objects.
*/
- (unsigned) selectionCount;
- (NSUInteger) selectionCount;
/**
* Return the selection in an array.