Permalink
Browse files

Merge pull request #160 from karbonworks/master

Fixed a couple of build warnings
  • Loading branch information...
2 parents b3270c6 + fa4a6ef commit 48c9a6407f3abf90a86a7027f25b2ff0a50ffd2d @evadne evadne committed Sep 15, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Classes/AQGridViewUpdateItem.m
@@ -81,7 +81,7 @@ - (NSString *) description
}
NSString * animationDesc = @"<Unknown>";
- switch ( _animation )
+ switch ( (UITableViewRowAnimation)_animation )
{
case UITableViewRowAnimationFade:
animationDesc = @"Fade";
@@ -108,7 +108,7 @@ - (NSString *) description
break;
}
- return ( [NSString stringWithFormat: @"%@{index=%u, action=%@, animation=%@, offset=%.02f}", [super description], (unsigned)_index, actionDesc, animationDesc, _offset] );
+ return ( [NSString stringWithFormat: @"%@{index=%u, action=%@, animation=%@, offset=%.02f}", [super description], (unsigned)_index, actionDesc, animationDesc, (double)_offset] );
}
- (NSComparisonResult) compare: (AQGridViewUpdateItem *) other

0 comments on commit 48c9a64

Please sign in to comment.