Skip to content

Commit

Permalink
Merge pull request #1 from DenHeadless/master
Browse files Browse the repository at this point in the history
Fix 64-bit warnings.
  • Loading branch information
belkevich committed Dec 26, 2014
2 parents e444a95 + f6992fe commit 58d1674
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Classes/Properties/Parsers/OCFInvocationParser.m
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion Spec/OCFuntimeSpec/Mocks/OCFMethodMock.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 58d1674

Please sign in to comment.