mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-21 02:30:59 +00:00
Fix more unsigned int / int cases that should be NS[U]Integer
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31354 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a1cd16df1d
commit
03620ee011
5 changed files with 14 additions and 6 deletions
|
@ -1,3 +1,11 @@
|
|||
2010-09-15 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/NSParagraphStyle.m:
|
||||
* Source/NSPopUpButton.m:
|
||||
* Source/NSMenuItemCell.m:
|
||||
* Source/NSFont.m: Fix more unsigned int / ints that should
|
||||
be NSUInteger/NSInteger
|
||||
|
||||
2010-09-15 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/GSTextStorage.m: Fix an unisgned->NSUInteger
|
||||
|
|
|
@ -79,7 +79,7 @@ globalFontMap.
|
|||
}
|
||||
@end
|
||||
@implementation GSFontMapKey
|
||||
-(unsigned int) hash
|
||||
-(NSUInteger) hash
|
||||
{
|
||||
return hash;
|
||||
}
|
||||
|
@ -935,7 +935,7 @@ static void setNSFont(NSString *key, NSFont *font)
|
|||
return YES;
|
||||
}
|
||||
|
||||
- (unsigned) hash
|
||||
- (NSUInteger) hash
|
||||
{
|
||||
int i, sum;
|
||||
sum = 0;
|
||||
|
|
|
@ -160,7 +160,7 @@
|
|||
return _menuItem;
|
||||
}
|
||||
|
||||
- (int) tag
|
||||
- (NSInteger) tag
|
||||
{
|
||||
return [[self menuItem] tag];
|
||||
}
|
||||
|
|
|
@ -139,7 +139,7 @@
|
|||
return NSOrderedSame;
|
||||
}
|
||||
|
||||
- (unsigned) hash
|
||||
- (NSUInteger) hash
|
||||
{
|
||||
unsigned val = (unsigned)_location;
|
||||
|
||||
|
@ -601,7 +601,7 @@ static NSParagraphStyle *defaultStyle = nil;
|
|||
return [_tabStops isEqualToArray: other->_tabStops];
|
||||
}
|
||||
|
||||
- (unsigned int) hash
|
||||
- (NSUInteger) hash
|
||||
{
|
||||
return _alignment + _lineBreakMode;
|
||||
}
|
||||
|
|
|
@ -257,7 +257,7 @@ this to return nil to indicate that we have no context menu.
|
|||
/**<p>Returns the tag of the selected item</p>
|
||||
<p>See Also: [NSPopUpButtonCell-indexOfSelectedItem]</p>
|
||||
*/
|
||||
- (int) selectedTag
|
||||
- (NSInteger) selectedTag
|
||||
{
|
||||
return [[_cell selectedItem] tag];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue