mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Changes for 64bit clean printf format strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36810 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8082fb58c1
commit
022d588467
32 changed files with 223 additions and 168 deletions
|
@ -3306,7 +3306,8 @@ fatalErrorFunction(void *ctx, const unsigned char *msg, ...)
|
|||
colNumber: (NSInteger)colNumber
|
||||
lineNumber: (NSInteger)lineNumber
|
||||
{
|
||||
e = [NSString stringWithFormat: @"at line: %d column: %d ... %@",
|
||||
e = [NSString stringWithFormat:
|
||||
@"at line: %"PRIdPTR" column: %"PRIdPTR" ... %@",
|
||||
lineNumber, colNumber, e];
|
||||
[self warning: e];
|
||||
}
|
||||
|
@ -3318,7 +3319,8 @@ fatalErrorFunction(void *ctx, const unsigned char *msg, ...)
|
|||
colNumber: (NSInteger)colNumber
|
||||
lineNumber: (NSInteger)lineNumber
|
||||
{
|
||||
e = [NSString stringWithFormat: @"at line: %d column: %d ... %@",
|
||||
e = [NSString stringWithFormat:
|
||||
@"at line: %"PRIdPTR" column: %"PRIdPTR" ... %@",
|
||||
lineNumber, colNumber, e];
|
||||
[self error: e];
|
||||
}
|
||||
|
@ -3330,7 +3332,8 @@ fatalErrorFunction(void *ctx, const unsigned char *msg, ...)
|
|||
colNumber: (NSInteger)colNumber
|
||||
lineNumber: (NSInteger)lineNumber
|
||||
{
|
||||
e = [NSString stringWithFormat: @"at line: %d column: %d ... %@",
|
||||
e = [NSString stringWithFormat:
|
||||
@"at line: %"PRIdPTR" column: %"PRIdPTR" ... %@",
|
||||
lineNumber, colNumber, e];
|
||||
[self fatalError: e];
|
||||
}
|
||||
|
@ -3791,7 +3794,8 @@ fatalErrorFunction(void *ctx, const unsigned char *msg, ...)
|
|||
}
|
||||
- (NSString *) description
|
||||
{
|
||||
return [NSString_class stringWithFormat: @"NodeSet (count %u)", [self count]];
|
||||
return [NSString_class stringWithFormat:
|
||||
@"NodeSet (count %"PRIuPTR")", [self count]];
|
||||
}
|
||||
@end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue