Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

warning #261

Stan92 opened this Issue Sep 25, 2012 · 1 comment


None yet
2 participants

Stan92 commented Sep 25, 2012

I receive some warning when I compile my app..
They come from the NSObject+MagicalDataImport.m (saying Format specifies type 'long' but the argument has type 'NSUInteger' (aka ('unsigned int').
The helper say I can fix it by replacing "%ld" with "%d".. Can I apply this ?

for (NSUInteger i = 1; i < kMagicalRecordImportMaximumAttributeFailoverDepth && value == nil; i++)
    attributeName = [NSString stringWithFormat:@"%@.%ld", kMagicalRecordImportAttributeKeyMapKey, i];
    lookupKey = [[attributeInfo userInfo] valueForKey:attributeName];
    if (lookupKey == nil) 
        return nil;
    value = [self valueForKeyPath:lookupKey];

blackgold9 commented Oct 9, 2012

cleaned up

@blackgold9 blackgold9 closed this Oct 9, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment