[vlc-commits] macosx: correct type and missing newline at end of file
Marvin Scholz
git at videolan.org
Mon Apr 2 02:32:26 CEST 2018
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Mon Apr 2 02:17:52 2018 +0200| [c85f2c50bf77c31fda300b1baeae71f66ca345ed] | committer: Marvin Scholz
macosx: correct type and missing newline at end of file
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c85f2c50bf77c31fda300b1baeae71f66ca345ed
---
modules/gui/macosx/VLCMain+OldPrefs.m | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/macosx/VLCMain+OldPrefs.m b/modules/gui/macosx/VLCMain+OldPrefs.m
index 38a76f01df..3f122ba66e 100644
--- a/modules/gui/macosx/VLCMain+OldPrefs.m
+++ b/modules/gui/macosx/VLCMain+OldPrefs.m
@@ -59,7 +59,7 @@ static const int kCurrentPreferencesVersion = 4;
- (void)migrateOldPreferences
{
NSUserDefaults * defaults = [NSUserDefaults standardUserDefaults];
- int version = [defaults integerForKey:kVLCPreferencesVersion];
+ NSInteger version = [defaults integerForKey:kVLCPreferencesVersion];
/*
* Store version explicitely in file, for ease of debugging.
@@ -141,4 +141,4 @@ static const int kCurrentPreferencesVersion = 4;
execl(path, path, NULL);
}
- at end
\ No newline at end of file
+ at end
More information about the vlc-commits
mailing list