Fix a few places to use NSUInteger

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40153 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2016-10-18 08:45:26 +00:00
parent 3dd264f0b1
commit b8fb658096

View file

@ -285,7 +285,7 @@ static Class messagePortClass = 0;
[d handlePortMessage: m];
}
- (unsigned) hash
- (NSUInteger) hash
{
return [PORT(self)->name hash];
}
@ -938,7 +938,7 @@ again:
* 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);
}
@ -969,7 +969,7 @@ again:
msgid: (int)msgId
components: (NSMutableArray*)components
from: (NSPort*)receivingPort
reserved: (unsigned)length
reserved: (NSUInteger)length
{
NSMutableData *h = nil;
NSMutableData *first;
@ -996,7 +996,7 @@ again:
NSLog(@"Attempt to send through recv port");
}
c = [components count];
c = (unsigned)[components count];
if (c == 0)
{
NSLog(@"empty components sent");