mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 14:10:44 +00:00
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:
parent
2e946568b1
commit
b259b857d0
3 changed files with 3 additions and 3 deletions
|
@ -465,7 +465,7 @@ NSImage *browserImage = nil;
|
|||
}
|
||||
|
||||
//--- IBSelectionOwners protocol ---
|
||||
- (unsigned) selectionCount
|
||||
- (NSUInteger) selectionCount
|
||||
{
|
||||
return ([outlineView selectedRow] == -1)?0:1;
|
||||
}
|
||||
|
|
|
@ -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 &&
|
||||
|
|
|
@ -49,7 +49,7 @@ IB_EXTERN NSString *IBClassNameChangedNotification;
|
|||
/**
|
||||
* The number of currently selected objects.
|
||||
*/
|
||||
- (unsigned) selectionCount;
|
||||
- (NSUInteger) selectionCount;
|
||||
|
||||
/**
|
||||
* Return the selection in an array.
|
||||
|
|
Loading…
Reference in a new issue