Fixed NSInteger casts in NSLog statements (removes compiler warnings).