diff --git a/Classes/PropertyView/SBChapterViewController.m b/Classes/PropertyView/SBChapterViewController.m index fd13fc5..8710924 100755 --- a/Classes/PropertyView/SBChapterViewController.m +++ b/Classes/PropertyView/SBChapterViewController.m @@ -108,7 +108,7 @@ - (IBAction)renameChapters:(id)sender { [track.chapters enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) { - NSString *title = [NSString stringWithFormat:@"Chapter %lu", idx + 1]; + NSString *title = [NSString stringWithFormat:@"Chapter %lu", (unsigned long) idx + 1]; [(MP42TextSample *)obj setTitle:title]; }];