From 464535a427410ba2caba47b06892ac2014092cae Mon Sep 17 00:00:00 2001 From: Michael Tyson Date: Fri, 8 Aug 2014 16:17:26 +1000 Subject: [PATCH] Addressed some build warnings in sample app --- TPKeyboardAvoidingSample/SecondViewController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TPKeyboardAvoidingSample/SecondViewController.m b/TPKeyboardAvoidingSample/SecondViewController.m index 21d6c395..c9c29559 100644 --- a/TPKeyboardAvoidingSample/SecondViewController.m +++ b/TPKeyboardAvoidingSample/SecondViewController.m @@ -104,8 +104,8 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N cell.selectionStyle = UITableViewCellSelectionStyleNone; } - cell.textLabel.text = [NSString stringWithFormat:@"Order %d", indexPath.row]; - ((UITextField*)cell.accessoryView).placeholder = [NSString stringWithFormat:@"%d bananas", indexPath.row]; + cell.textLabel.text = [NSString stringWithFormat:@"Order %d", (int)indexPath.row]; + ((UITextField*)cell.accessoryView).placeholder = [NSString stringWithFormat:@"%d bananas", (int)indexPath.row]; return cell; }