mirror of https://github.com/mpv-player/mpv
Use int64_t instead of long for variable containing current playback time.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30857 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
5f43c89d8b
commit
68d9451591
|
@ -1211,7 +1211,7 @@ static void saddf(char *buf, unsigned *pos, int len, const char *format, ...)
|
|||
* \param time time value to convert/append
|
||||
*/
|
||||
static void sadd_hhmmssf(char *buf, unsigned *pos, int len, float time) {
|
||||
long tenths = 10 * time;
|
||||
int64_t tenths = 10 * time;
|
||||
int f1 = tenths % 10;
|
||||
int ss = (tenths / 10) % 60;
|
||||
int mm = (tenths / 600) % 60;
|
||||
|
|
Loading…
Reference in New Issue