aboutsummaryrefslogtreecommitdiff
path: root/DebugUtils
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2012-06-21 21:30:11 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2012-06-21 21:30:11 +0000
commit7247d5e2ea3e43a48c1f85bf263c5237d459641a (patch)
treebe744b82ab288a21decc4a31a5adc8db001d85d9 /DebugUtils
parentb962a2ca36c7efbb9ae89330041a3edcd12e7704 (diff)
[Author: dmaclach]
Clean up some basic issues in GTM. Also removes GTMUniqueFileObjectPathBasedOn which depended on mktemp which is bad. R=thomasvl DELTA=55 (6 added, 32 deleted, 17 changed)
Diffstat (limited to 'DebugUtils')
-rw-r--r--DebugUtils/GTMDebugSelectorValidation.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/DebugUtils/GTMDebugSelectorValidation.h b/DebugUtils/GTMDebugSelectorValidation.h
index 19d8b8e..2396524 100644
--- a/DebugUtils/GTMDebugSelectorValidation.h
+++ b/DebugUtils/GTMDebugSelectorValidation.h
@@ -58,10 +58,10 @@ static void GTMAssertSelectorNilOrImplementedWithReturnTypeAndArguments(id obj,
const char *foundArgType = [sig getArgumentTypeAtIndex:argCount];
_GTMDevAssert(0 == strncmp(foundArgType, expectedArgType, strlen(expectedArgType)),
- @"\"%@\" selector \"%@\" argument %d should be type %s",
+ @"\"%@\" selector \"%@\" argument %u should be type %s",
NSStringFromClass([obj class]),
NSStringFromSelector(sel),
- (argCount - 2),
+ (uint32_t)(argCount - 2),
expectedArgType);
}
argCount++;
@@ -69,10 +69,10 @@ static void GTMAssertSelectorNilOrImplementedWithReturnTypeAndArguments(id obj,
// check that the proper number of arguments are present in the selector
_GTMDevAssert(argCount == [sig numberOfArguments],
- @"\"%@\" selector \"%@\" should have %d arguments",
+ @"\"%@\" selector \"%@\" should have %u arguments",
NSStringFromClass([obj class]),
NSStringFromSelector(sel),
- (argCount - 2));
+ (uint32_t)(argCount - 2));
// if asked, validate the return type
if (retType && (strcmp("gtm_skip_return_test", retType) != 0)) {