forked from organicmaps/organicmaps
[ios] Warning fixes
This commit is contained in:
parent
9fd660485d
commit
cecc3ec8a0
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ void InitLocalizedStrings()
|
|||
|
||||
+ (MapsAppDelegate *) theApp
|
||||
{
|
||||
return [[UIApplication sharedApplication] delegate];
|
||||
return (MapsAppDelegate *)[[UIApplication sharedApplication] delegate];
|
||||
}
|
||||
|
||||
- (void) applicationWillTerminate: (UIApplication *) application
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue