mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
printf style format tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36799 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b49c4b7eaa
commit
da4f7056ca
14 changed files with 33 additions and 30 deletions
|
@ -718,7 +718,7 @@ static NSOperationQueue *mainQueue = nil;
|
|||
if (YES == invalidArg)
|
||||
{
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"[%@-%@] object at index %u is not an NSOperation",
|
||||
format: @"[%@-%@] object at index %"PRIuPTR" is not an NSOperation",
|
||||
NSStringFromClass([self class]), NSStringFromSelector(_cmd),
|
||||
index];
|
||||
}
|
||||
|
@ -813,7 +813,7 @@ static NSOperationQueue *mainQueue = nil;
|
|||
&& cnt != NSOperationQueueDefaultMaxConcurrentOperationCount)
|
||||
{
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"[%@-%@] cannot set negative (%d) count",
|
||||
format: @"[%@-%@] cannot set negative (%"PRIdPTR") count",
|
||||
NSStringFromClass([self class]), NSStringFromSelector(_cmd), cnt];
|
||||
}
|
||||
[internal->lock lock];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue