mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 22:10:47 +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
bffd2a736e
commit
ef6546bf19
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>
|
2010-09-15 Eric Wasylishen <ewasylishen@gmail.com>
|
||||||
|
|
||||||
* Source/GSTextStorage.m: Fix an unisgned->NSUInteger
|
* Source/GSTextStorage.m: Fix an unisgned->NSUInteger
|
||||||
|
|
|
@ -79,7 +79,7 @@ globalFontMap.
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
@implementation GSFontMapKey
|
@implementation GSFontMapKey
|
||||||
-(unsigned int) hash
|
-(NSUInteger) hash
|
||||||
{
|
{
|
||||||
return hash;
|
return hash;
|
||||||
}
|
}
|
||||||
|
@ -935,7 +935,7 @@ static void setNSFont(NSString *key, NSFont *font)
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (unsigned) hash
|
- (NSUInteger) hash
|
||||||
{
|
{
|
||||||
int i, sum;
|
int i, sum;
|
||||||
sum = 0;
|
sum = 0;
|
||||||
|
|
|
@ -160,7 +160,7 @@
|
||||||
return _menuItem;
|
return _menuItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (int) tag
|
- (NSInteger) tag
|
||||||
{
|
{
|
||||||
return [[self menuItem] tag];
|
return [[self menuItem] tag];
|
||||||
}
|
}
|
||||||
|
|
|
@ -139,7 +139,7 @@
|
||||||
return NSOrderedSame;
|
return NSOrderedSame;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (unsigned) hash
|
- (NSUInteger) hash
|
||||||
{
|
{
|
||||||
unsigned val = (unsigned)_location;
|
unsigned val = (unsigned)_location;
|
||||||
|
|
||||||
|
@ -601,7 +601,7 @@ static NSParagraphStyle *defaultStyle = nil;
|
||||||
return [_tabStops isEqualToArray: other->_tabStops];
|
return [_tabStops isEqualToArray: other->_tabStops];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (unsigned int) hash
|
- (NSUInteger) hash
|
||||||
{
|
{
|
||||||
return _alignment + _lineBreakMode;
|
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>Returns the tag of the selected item</p>
|
||||||
<p>See Also: [NSPopUpButtonCell-indexOfSelectedItem]</p>
|
<p>See Also: [NSPopUpButtonCell-indexOfSelectedItem]</p>
|
||||||
*/
|
*/
|
||||||
- (int) selectedTag
|
- (NSInteger) selectedTag
|
||||||
{
|
{
|
||||||
return [[_cell selectedItem] tag];
|
return [[_cell selectedItem] tag];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue