Tweaks to avoid compiler warnings with gcc-4

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21390 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2005-07-01 12:29:50 +00:00
parent a7f1ff64f9
commit 71e5005964
53 changed files with 502 additions and 322 deletions

View file

@ -1814,7 +1814,7 @@ static void retEncoder (DOContext *ctxt)
NSParameterAssert(type);
NSParameterAssert(*type);
ctxt.encoder = [self _makeOutRmc: 0 generate: &ctxt.seq reply: YES];
ctxt.encoder = [self _makeOutRmc: 0 generate: (int*)&ctxt.seq reply: YES];
if (debug_connection > 4)
NSLog(@"building packet seq %d", ctxt.seq);
@ -1951,7 +1951,7 @@ static void retEncoder (DOContext *ctxt)
memset(&ctxt, 0, sizeof(ctxt));
ctxt.connection = self;
op = [self _makeOutRmc: 0 generate: &ctxt.seq reply: YES];
op = [self _makeOutRmc: 0 generate: (int*)&ctxt.seq reply: YES];
if (debug_connection > 4)
NSLog(@"building packet seq %d", ctxt.seq);
@ -2635,7 +2635,7 @@ static void callEncoder (DOContext *ctxt)
* while we run the NSRunLoop. Raise exception if we don't get anything
* before timing out.
*/
- _getReplyRmc: (int)sn
- (NSPortCoder*) _getReplyRmc: (int)sn
{
NSPortCoder *rmc;
GSIMapNode node = 0;