Permalink
Browse files

Fix warnings

  • Loading branch information...
1 parent b3270c6 commit fa4a6efed50b8d622400845b67a20a46a5186426 @dwineman dwineman committed Sep 7, 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 fa4a6ef

Please sign in to comment.