mirror of
https://github.com/gnustep/libs-ec.git
synced 2025-05-12 16:51:18 +00:00
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:
parent
21c36f07a5
commit
ef0c67e3e6
3 changed files with 5 additions and 5 deletions
|
@ -99,7 +99,7 @@ main()
|
||||||
str = [defs stringForKey: @"Cause"];
|
str = [defs stringForKey: @"Cause"];
|
||||||
if (nil == str)
|
if (nil == str)
|
||||||
{
|
{
|
||||||
NSLog(@"Missing Cause, try --help", str);
|
NSLog(@"Missing Cause, try --help");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
cause = EcAlarmVersionMismatch;
|
cause = EcAlarmVersionMismatch;
|
||||||
|
|
|
@ -2177,7 +2177,7 @@ NSLog(@"Ignored attempt to set timer interval to %g ... using 10.0", interval);
|
||||||
if (YES == [cmdDefs boolForKey: @"Memory"])
|
if (YES == [cmdDefs boolForKey: @"Memory"])
|
||||||
{
|
{
|
||||||
[self cmdDbg: cmdDetailDbg
|
[self cmdDbg: cmdDetailDbg
|
||||||
msg: @"Memory usage %u", memRoll[memSlot]];
|
msg: @"Memory usage %"PRIuPTR, memRoll[memSlot]];
|
||||||
}
|
}
|
||||||
memSlot++;
|
memSlot++;
|
||||||
|
|
||||||
|
|
|
@ -53,8 +53,8 @@ main()
|
||||||
NSString *name;
|
NSString *name;
|
||||||
NSString *mode;
|
NSString *mode;
|
||||||
NSString *mesg;
|
NSString *mesg;
|
||||||
|
NSString *date;
|
||||||
id proxy;
|
id proxy;
|
||||||
NSCalendarDate *d;
|
|
||||||
NSRange r;
|
NSRange r;
|
||||||
EcLogType eclt;
|
EcLogType eclt;
|
||||||
CREATE_AUTORELEASE_POOL(arp);
|
CREATE_AUTORELEASE_POOL(arp);
|
||||||
|
@ -127,11 +127,11 @@ main()
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
d = [[NSCalendarDate date] descriptionWithCalendarFormat:
|
date = [[NSCalendarDate date] descriptionWithCalendarFormat:
|
||||||
@"%Y-%m-%d %H:%M:%S %z" locale: [defs dictionaryRepresentation]];
|
@"%Y-%m-%d %H:%M:%S %z" locale: [defs dictionaryRepresentation]];
|
||||||
|
|
||||||
mesg = [NSString stringWithFormat: @"%@(%@): %@ %@ - %@\n",
|
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.
|
* A last check to remove any embedded newlines.
|
||||||
|
|
Loading…
Reference in a new issue