Author: rfm Date: Tue Oct 18 10:45:26 2016 New Revision: 40153 URL: http://svn.gna.org/viewcvs/gnustep?rev=40153&view=rev Log: Fix a few places to use NSUInteger
Modified: libs/base/trunk/Source/win32/NSMessagePort.m Modified: libs/base/trunk/Source/win32/NSMessagePort.m URL: http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Source/win32/NSMessagePort.m?rev=40153&r1=40152&r2=40153&view=diff ============================================================================== --- libs/base/trunk/Source/win32/NSMessagePort.m (original) +++ libs/base/trunk/Source/win32/NSMessagePort.m Tue Oct 18 10:45:26 2016 @@ -285,7 +285,7 @@ [d handlePortMessage: m]; } -- (unsigned) hash +- (NSUInteger) hash { return [PORT(self)->name hash]; } @@ -938,7 +938,7 @@ * 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 @@ msgid: (int)msgId components: (NSMutableArray*)components from: (NSPort*)receivingPort - reserved: (unsigned)length + reserved: (NSUInteger)length { NSMutableData *h = nil; NSMutableData *first; @@ -996,7 +996,7 @@ NSLog(@"Attempt to send through recv port"); } - c = [components count]; + c = (unsigned)[components count]; if (c == 0) { NSLog(@"empty components sent"); _______________________________________________ Gnustep-cvs mailing list Gnustep-cvs@gna.org https://mail.gna.org/listinfo/gnustep-cvs