* Source/NSMessagePort.m:

* Source/NSFileManager.m:
* Source/NSCharacterSet.m: Fix some method type mismatches. Generally when
a private subclass overrides a public method taking a NSUInteger with
a method taking an "unsigned" parameter.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31351 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Eric Wasylishen 2010-09-15 22:16:18 +00:00
parent 47a7f3e444
commit d713579ade
4 changed files with 14 additions and 6 deletions

View file

@ -1,3 +1,11 @@
2010-09-15 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSMessagePort.m:
* Source/NSFileManager.m:
* Source/NSCharacterSet.m: Fix some method type mismatches. Generally when
a private subclass overrides a public method taking a NSUInteger with
a method taking an "unsigned" parameter.
2010-09-12 Riccardo Mottola
* Source/GSAttributedString.m: Removed dead assignments and unused variable attrs.

View file

@ -77,7 +77,7 @@
/* Private class from NSIndexSet.m
*/
@interface _GSStaticIndexSet : NSIndexSet
- (id) _initWithBytes: (const void*)bytes length: (unsigned)length;
- (id) _initWithBytes: (const void*)bytes length: (NSUInteger)length;
@end
@interface NSBitmapCharSet : NSCharacterSet
@ -1212,7 +1212,7 @@ static Class concreteMutableClass = nil;
*/
@interface NSIndexSet (NSCharacterSet)
- (unsigned int) _gapGreaterThanIndex: (unsigned int)anIndex;
- (NSUInteger) _gapGreaterThanIndex: (NSUInteger)anIndex;
@end

View file

@ -3006,7 +3006,7 @@ static NSSet *fileKeys = nil;
}
}
- (unsigned int) count
- (NSUInteger) count
{
return [fileKeys count];
}

View file

@ -1753,16 +1753,16 @@ typedef struct {
* the start can be written directly without having to copy data to another
* buffer etc.
*/
- (unsigned int) reservedSpaceLength
- (NSUInteger) reservedSpaceLength
{
return sizeof(GSPortItemHeader) + sizeof(GSPortMsgHeader);
}
- (BOOL) sendBeforeDate: (NSDate*)when
msgid: (int)msgId
msgid: (NSInteger)msgId
components: (NSMutableArray*)components
from: (NSPort*)receivingPort
reserved: (unsigned)length
reserved: (NSUInteger)length
{
BOOL sent = NO;
GSMessageHandle *h;