mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 09:02:01 +00:00
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:
parent
6b68c9a1ca
commit
57c16fcd8a
1 changed files with 4 additions and 4 deletions
|
@ -285,7 +285,7 @@ static Class messagePortClass = 0;
|
||||||
[d handlePortMessage: m];
|
[d handlePortMessage: m];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (unsigned) hash
|
- (NSUInteger) hash
|
||||||
{
|
{
|
||||||
return [PORT(self)->name hash];
|
return [PORT(self)->name hash];
|
||||||
}
|
}
|
||||||
|
@ -938,7 +938,7 @@ again:
|
||||||
* the start can be written directly without having to copy data to another
|
* the start can be written directly without having to copy data to another
|
||||||
* buffer etc.
|
* buffer etc.
|
||||||
*/
|
*/
|
||||||
- (unsigned int) reservedSpaceLength
|
- (NSUInteger) reservedSpaceLength
|
||||||
{
|
{
|
||||||
return sizeof(GSPortItemHeader) + sizeof(GSPortMsgHeader);
|
return sizeof(GSPortItemHeader) + sizeof(GSPortMsgHeader);
|
||||||
}
|
}
|
||||||
|
@ -969,7 +969,7 @@ again:
|
||||||
msgid: (int)msgId
|
msgid: (int)msgId
|
||||||
components: (NSMutableArray*)components
|
components: (NSMutableArray*)components
|
||||||
from: (NSPort*)receivingPort
|
from: (NSPort*)receivingPort
|
||||||
reserved: (unsigned)length
|
reserved: (NSUInteger)length
|
||||||
{
|
{
|
||||||
NSMutableData *h = nil;
|
NSMutableData *h = nil;
|
||||||
NSMutableData *first;
|
NSMutableData *first;
|
||||||
|
@ -996,7 +996,7 @@ again:
|
||||||
NSLog(@"Attempt to send through recv port");
|
NSLog(@"Attempt to send through recv port");
|
||||||
}
|
}
|
||||||
|
|
||||||
c = [components count];
|
c = (unsigned)[components count];
|
||||||
if (c == 0)
|
if (c == 0)
|
||||||
{
|
{
|
||||||
NSLog(@"empty components sent");
|
NSLog(@"empty components sent");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue