Fix a few compiler warnings caused by type mismatches in NSLog statements.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35037 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Chisnall 2012-04-06 12:37:11 +00:00
parent a3d29460d6
commit 603f5410a8
3 changed files with 4 additions and 4 deletions

View file

@ -2549,8 +2549,8 @@ static NSLock *cached_proxies_gate = nil;
if (debug_connection > 1)
NSLog(
@"Handling message (sig %s) RMC %d from %@",
forward_type, seq, (uintptr_t)self);
@"Handling message (sig %s) RMC %d from %p",
forward_type, seq, self);
IreqInCount++; /* Handling an incoming request. */

View file

@ -1932,7 +1932,7 @@ failure:
if (b == 0)
{
NSLog(@"[NSDataMalloc -initWithCoder:] unable to get %u bytes",
l);
(unsigned int)l);
DESTROY(self);
return nil;
}

View file

@ -573,7 +573,7 @@ replacementForClass(Class c)
}
else
{
NSLog(@"Failed to add setter method for %s to %@",
NSLog(@"Failed to add setter method for %s to %s",
sel_getName(sel), class_getName(original));
}
}