Permalink
Browse files

Small fix for 64 bit on iOS.

  • Loading branch information...
1 parent 555efa8 commit d8d796c9c06bec51e253aebb0c6f5589f0e6349d @drewmccormack committed Jan 9, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 TICoreDataSync/04 Utilities/FZACryptor/FZAKeyManageriPhone.m
@@ -119,7 +119,7 @@ - (NSData *)key {
if( searchResult == errSecItemNotFound ) {
TICDSLog(TICDSLogVerbosityEveryStep, @"FZACryptor iOS Key Manager didn't find a stored key");
} else {
- TICDSLog(TICDSLogVerbosityErrorsOnly, @"FZACryptor iOS Key Manager search error: %ld", searchResult);
+ TICDSLog(TICDSLogVerbosityErrorsOnly, @"FZACryptor iOS Key Manager search error: %d", (int)searchResult);
}
}
return [theKey autorelease];
@@ -132,7 +132,7 @@ - (void)clearPasswordAndSalt {
if( clearResult == errSecSuccess ) {
TICDSLog(TICDSLogVerbosityEveryStep, @"FZACryptor iOS Key Manager deleted keychain items");
} else {
- TICDSLog(TICDSLogVerbosityErrorsOnly, @"FZACryptor iOS Key Manager failed to delete keychain items: %ld", clearResult);
+ TICDSLog(TICDSLogVerbosityErrorsOnly, @"FZACryptor iOS Key Manager failed to delete keychain items: %d", (int)clearResult);
}
}

0 comments on commit d8d796c

Please sign in to comment.