Remove unneeded long cast
This commit is contained in:
parent
8b7675baee
commit
6175ee05e2
1 changed files with 1 additions and 1 deletions
|
@ -585,7 +585,7 @@ static NSString* const ImageScrubberItemIdentifier = @"scrubber.image.item";
|
||||||
std::vector<mate::PersistentDictionary> items;
|
std::vector<mate::PersistentDictionary> items;
|
||||||
if (!settings.Get("items", &items)) return nil;
|
if (!settings.Get("items", &items)) return nil;
|
||||||
|
|
||||||
if ((long)index >= (long)items.size()) return nil;
|
if (index >= (long)items.size()) return nil;
|
||||||
|
|
||||||
mate::PersistentDictionary item = items[index];
|
mate::PersistentDictionary item = items[index];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue