Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dwineman committed Sep 7, 2012
1 parent b3270c6 commit fa4a6ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/AQGridViewUpdateItem.m
Expand Up @@ -81,7 +81,7 @@ - (NSString *) description
}

NSString * animationDesc = @"<Unknown>";
switch ( _animation )
switch ( (UITableViewRowAnimation)_animation )
{
case UITableViewRowAnimationFade:
animationDesc = @"Fade";
Expand All @@ -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
Expand Down

0 comments on commit fa4a6ef

Please sign in to comment.