diff options
Diffstat (limited to 'macosx/HBPreviewGenerator.m')
-rw-r--r-- | macosx/HBPreviewGenerator.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBPreviewGenerator.m b/macosx/HBPreviewGenerator.m index 9f1057b35..efc95e011 100644 --- a/macosx/HBPreviewGenerator.m +++ b/macosx/HBPreviewGenerator.m @@ -280,7 +280,7 @@ job.video.twoPass = NO; // Init the libhb core - int level = [[[NSUserDefaults standardUserDefaults] objectForKey:@"LoggingLevel"] intValue]; + NSInteger level = [[NSUserDefaults standardUserDefaults] integerForKey:@"LoggingLevel"]; self.core = [[HBCore alloc] initWithLogLevel:level name:@"PreviewCore"]; HBStateFormatter *formatter = [[HBStateFormatter alloc] init]; |