mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-26 18:21:04 +00:00
avoid signedness warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32494 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
234755c849
commit
1a4613db08
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ newDataWithEncodedPort(NSMessagePort *port)
|
||||||
pih->type = GSSwapHostI32ToBig(GSP_PORT);
|
pih->type = GSSwapHostI32ToBig(GSP_PORT);
|
||||||
pih->length = GSSwapHostI32ToBig(plen);
|
pih->length = GSSwapHostI32ToBig(plen);
|
||||||
pi = (GSPortInfo*)&pih[1];
|
pi = (GSPortInfo*)&pih[1];
|
||||||
strncpy((char*)pi->addr, (char*)name, strlen(name) + 1);
|
strncpy((char*)pi->addr, (char*)name, strlen((char*)name) + 1);
|
||||||
|
|
||||||
NSDebugFLLog(@"NSMessagePort", @"Encoded port as '%s'", pi->addr);
|
NSDebugFLLog(@"NSMessagePort", @"Encoded port as '%s'", pi->addr);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue