From ba7cee00728fa62f362b9ca1d8518fcb230e02e2 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Tue, 21 Oct 2014 18:41:56 +0200 Subject: [PATCH] Another warning. --- Classes/PropertyView/SBChapterViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; }];