Permalink
Browse files

fixed warnings

  • Loading branch information...
1 parent bafc44e commit 864721c8bfc54fb0f975fd7a098b1a333d9a53cd @ettore committed Nov 18, 2012
Showing with 3 additions and 2 deletions.
  1. +2 −1 CLCGMoreCell.m
  2. +1 −1 CLCGTVVC.m
View
3 CLCGMoreCell.m
@@ -6,6 +6,7 @@
//
//
+#import "clcg_bundle_utils.h"
#import "clcg_macros.h"
#import "UIViewCategory.h"
#import "CLCGMoreCell.h"
@@ -72,7 +73,7 @@ -(void)didStopRequestingMore
-(void)layoutSubviews
{
[super layoutSubviews];
- [[self textLabel] setW:[self width]];
+ [[self textLabel] setW:[self w]];
}
View
2 CLCGTVVC.m
@@ -152,7 +152,7 @@ -(void)setEditing:(BOOL)editing animated:(BOOL)animated
-(BOOL)isMoreRow:(NSIndexPath*)ip
{
- return (mItemsEnd < mItemsTotal && [ip row] == [mItems count]);
+ return (mItemsEnd < mItemsTotal && [ip row] == (NSInteger)[mItems count]);
}

0 comments on commit 864721c

Please sign in to comment.