Commit b01b54b0 authored by Sigmund Augdal's avatar Sigmund Augdal Committed by JP Dinger

dbus: Fix an integer overflow when seeking more than ~2000 seconds.

parent 043921e8
......@@ -222,7 +222,7 @@ DBUS_METHOD( PositionSet )
if( p_input )
{
position.i_time = i_pos * 1000;
position.i_time = ((mtime_t)i_pos) * 1000;
var_Set( p_input, "time", position );
vlc_object_release( p_input );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment