Fix an unsigned->NSUInteger

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31352 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Eric Wasylishen 2010-09-15 22:17:51 +00:00
parent a3eb0e0e6e
commit a1cd16df1d
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2010-09-15 Eric Wasylishen <ewasylishen@gmail.com>
* Source/GSTextStorage.m: Fix an unisgned->NSUInteger
2010-09-15 Fred Kiefer <FredKiefer@gmx.de> 2010-09-15 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSView.m (-releaseGState): Check if the window and it's * Source/NSView.m (-releaseGState): Check if the window and it's
@ -44,6 +48,7 @@
* Source/GSToolbarCustomizationPalette.m * Source/GSToolbarCustomizationPalette.m
(-paletteItemsWithToolbarItems:): Release the copied toolbar items. (-paletteItemsWithToolbarItems:): Release the copied toolbar items.
>>>>>>> .r31351
2010-09-09 Eric Wasylishen <ewasylishen@gmail.com> 2010-09-09 Eric Wasylishen <ewasylishen@gmail.com>
* Source/GSTheme.m: * Source/GSTheme.m:

View file

@ -623,7 +623,7 @@ _attributesAtIndexEffectiveRange(
return _textProxy; return _textProxy;
} }
- (NSDictionary*) attributesAtIndex: (unsigned)index - (NSDictionary*) attributesAtIndex: (NSUInteger)index
effectiveRange: (NSRange*)aRange effectiveRange: (NSRange*)aRange
{ {
unsigned dummy; unsigned dummy;
@ -930,7 +930,7 @@ changeInLength: [aString length] - range.length];
} }
// The superclass implementation is correct but too slow // The superclass implementation is correct but too slow
- (unsigned int) length - (NSUInteger) length
{ {
return [_textChars length]; return [_textChars length];
} }