64bit fixups

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@37062 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2013-09-10 12:37:26 +00:00
parent 21c36f07a5
commit ef0c67e3e6
3 changed files with 5 additions and 5 deletions

View file

@ -99,7 +99,7 @@ main()
str = [defs stringForKey: @"Cause"];
if (nil == str)
{
NSLog(@"Missing Cause, try --help", str);
NSLog(@"Missing Cause, try --help");
exit(1);
}
cause = EcAlarmVersionMismatch;

View file

@ -2177,7 +2177,7 @@ NSLog(@"Ignored attempt to set timer interval to %g ... using 10.0", interval);
if (YES == [cmdDefs boolForKey: @"Memory"])
{
[self cmdDbg: cmdDetailDbg
msg: @"Memory usage %u", memRoll[memSlot]];
msg: @"Memory usage %"PRIuPTR, memRoll[memSlot]];
}
memSlot++;

View file

@ -53,8 +53,8 @@ main()
NSString *name;
NSString *mode;
NSString *mesg;
NSString *date;
id proxy;
NSCalendarDate *d;
NSRange r;
EcLogType eclt;
CREATE_AUTORELEASE_POOL(arp);
@ -127,11 +127,11 @@ main()
exit(1);
}
d = [[NSCalendarDate date] descriptionWithCalendarFormat:
date = [[NSCalendarDate date] descriptionWithCalendarFormat:
@"%Y-%m-%d %H:%M:%S %z" locale: [defs dictionaryRepresentation]];
mesg = [NSString stringWithFormat: @"%@(%@): %@ %@ - %@\n",
name, [[NSHost currentHost] name], d, mode, mesg];
name, [[NSHost currentHost] name], date, mode, mesg];
/*
* A last check to remove any embedded newlines.