@ -26,6 +26,7 @@ set(TESTS
WeakReferences_arc.m
objc_msgSend.m
msgInterpose.m
MethodArguments.m
)
# Function for adding a test. This takes the name of the test and the list of
@ -393,7 +393,7 @@ void method_getArgumentType(Method method,
size_t dst_len)
{
if (NULL == method) { return; }
const char *types = findParameterStart(method->types, index);
const char *types = findParameterStart(method->types, index + 1);
if (NULL == types)
strncpy(dst, "", dst_len);