Auto-fixed string-format warnings. (iOS 7 supports 64-bit now, so sometimes NSInteger should be cast to long.)