diff --git a/Classes/Properties/Parsers/OCFInvocationParser.m b/Classes/Properties/Parsers/OCFInvocationParser.m index 113add3..dbd9827 100644 --- a/Classes/Properties/Parsers/OCFInvocationParser.m +++ b/Classes/Properties/Parsers/OCFInvocationParser.m @@ -96,7 +96,7 @@ + (void)parsePointerSetterInvocation:(NSInvocation *)invocation instance:(id)ins + (void)parsePrimitiveSetterInvocation:(NSInvocation *)invocation instance:(id)instance attributes:(OCFPropertyAttributes *)attributes { - size_t size = 0; + NSUInteger size = 0; const char *type = attributes.type.ASCIIString; const char *key = attributes.key; NSGetSizeAndAlignment(type, &size, NULL); @@ -133,7 +133,7 @@ + (void)parsePrimitiveGetterInvocation:(NSInvocation *)invocation instance:(id)i { const char *type = attributes.type.ASCIIString; const char *key = attributes.key; - size_t size = 0; + NSUInteger size = 0; NSGetSizeAndAlignment(type, &size, NULL); void *buffer = calloc(1, size); NSValue *store = objc_getAssociatedObject(instance, key); diff --git a/Spec/OCFuntimeSpec/Mocks/OCFMethodMock.m b/Spec/OCFuntimeSpec/Mocks/OCFMethodMock.m index cbc8820..e598d72 100644 --- a/Spec/OCFuntimeSpec/Mocks/OCFMethodMock.m +++ b/Spec/OCFuntimeSpec/Mocks/OCFMethodMock.m @@ -30,7 +30,7 @@ - (NSObject *)funInstanceMethodWithArg:(NSObject *)arg + (NSUInteger)funClassMethodWithArg:(NSUInteger)arg { - NSLog(@"This is FUN class method with arg %i", arg); + NSLog(@"This is FUN class method with arg %@", @(arg)); return 0; }