[ios] Warning fixes

This commit is contained in:
Alex Zolotarev 2013-01-31 16:10:54 -08:00 committed by Alex Zolotarev
parent 9fd660485d
commit cecc3ec8a0
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ void InitLocalizedStrings()
+ (MapsAppDelegate *) theApp
{
return [[UIApplication sharedApplication] delegate];
return (MapsAppDelegate *)[[UIApplication sharedApplication] delegate];
}
- (void) applicationWillTerminate: (UIApplication *) application

View file

@ -159,7 +159,7 @@ static bool IsOurIndex(TIndex const & theirs, TIndex const & ours)
cell.imageView.image = [UIImage imageNamed:[NSString stringWithFormat:@"%s.png", flag.c_str()]];
// do not show status for parent categories
if (cell.reuseIdentifier != @"ParentCell")
if (![cell.reuseIdentifier isEqual: @"ParentCell"])
{
storage::TStatus const st = frm.GetCountryStatus(countryIndex);
switch (st)