File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -253,11 +253,11 @@ - (IBAction)edit_ok:(id)sender
253
253
NSArray * components = [[o_edit_fld_time stringValue ] componentsSeparatedByString: @" :" ];
254
254
NSUInteger componentCount = [components count ];
255
255
if (componentCount == 1 )
256
- pp_bookmarks[i]->i_time_offset = 1000000 * ([[components objectAtIndex: 0 ] intValue ]);
256
+ pp_bookmarks[i]->i_time_offset = 1000000LL * ([[components objectAtIndex: 0 ] longLongValue ]);
257
257
else if (componentCount == 2 )
258
- pp_bookmarks[i]->i_time_offset = 1000000 * ([[components objectAtIndex: 0 ] intValue ] * 60 + [[components objectAtIndex: 1 ] intValue ]);
258
+ pp_bookmarks[i]->i_time_offset = 1000000LL * ([[components objectAtIndex: 0 ] longLongValue ] * 60 + [[components objectAtIndex: 1 ] longLongValue ]);
259
259
else if (componentCount == 3 )
260
- pp_bookmarks[i]->i_time_offset = 1000000 * ([[components objectAtIndex: 0 ] intValue ] * 3600 + [[components objectAtIndex: 1 ] intValue ] * 60 + [[components objectAtIndex: 2 ] intValue ]);
260
+ pp_bookmarks[i]->i_time_offset = 1000000LL * ([[components objectAtIndex: 0 ] longLongValue ] * 3600 + [[components objectAtIndex: 1 ] longLongValue ] * 60 + [[components objectAtIndex: 2 ] longLongValue ]);
261
261
else {
262
262
msg_Err (VLCIntf, " Invalid string format for time" );
263
263
goto clear;
You can’t perform that action at this time.
0 commit comments