[vlc-commits] macosx: Fix format specifier

David Fuhrmann git at videolan.org
Tue Apr 6 09:55:45 UTC 2021


vlc/vlc-3.0 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Tue Apr  6 11:11:46 2021 +0200| [701ae51e3f841fb760cf3707682ae491f71c61f1] | committer: David Fuhrmann

macosx: Fix format specifier

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=701ae51e3f841fb760cf3707682ae491f71c61f1
---

 modules/gui/macosx/prefs.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/prefs.m b/modules/gui/macosx/prefs.m
index ddb91f6966..3dc232bc91 100644
--- a/modules/gui/macosx/prefs.m
+++ b/modules/gui/macosx/prefs.m
@@ -317,7 +317,7 @@
 
 - (NSString *)description
 {
-    return [NSString stringWithFormat:@"%@: name: %@, number of children %li", NSStringFromClass([self class]), [self name], [self numberOfChildren]];
+    return [NSString stringWithFormat:@"%@: name: %@, number of children %i", NSStringFromClass([self class]), [self name], [self numberOfChildren]];
 }
 
 - (VLCTreeItem *)childAtIndex:(NSInteger)i_index



More information about the vlc-commits mailing list