]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/wizard.m
enable the macosx GUI to handle negative stop-time
[vlc] / modules / gui / macosx / wizard.m
index e8c832fc6abcc51176ad611f4aed5a6d3eaf7fe8..7db0503e9aa94c8eb2184e47dcd1a7ff98524ac4 100644 (file)
@@ -1232,7 +1232,7 @@ static VLCWizard *_o_sharedInstance = nil;
                     time = 1000000 * ([[components objectAtIndex:0] intValue] * 3600 + [[components objectAtIndex:1] intValue] * 60 + [[components objectAtIndex:2] intValue]);
                 else
                     msg_Err(VLCIntf, "Invalid string format for time");
-                input_item_AddOption(p_input, [[NSString stringWithFormat: @"stop-time=%lu", time] UTF8String], VLC_INPUT_OPTION_TRUSTED);
+                input_item_AddOption(p_input, [[NSString stringWithFormat: @"stop-time=%ld", time] UTF8String], VLC_INPUT_OPTION_TRUSTED);
             }
 
             input_item_AddOption( p_input, [[NSString stringWithFormat: