From 7247d5e2ea3e43a48c1f85bf263c5237d459641a Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Thu, 21 Jun 2012 21:30:11 +0000 Subject: [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) --- DebugUtils/GTMDebugSelectorValidation.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'DebugUtils/GTMDebugSelectorValidation.h') 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)) { -- cgit v1.2.3