summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-07 09:13:18 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-07 09:13:18 +0000
commit68d945159112d41fd3fb0cb4ab39389717b7a22b (patch)
tree2fe90b0d7e48b7876e91ec93d2ec35f7e77bb394 /mplayer.c
parent5f43c89d8b6f551c98c3c46af2f994a291188f35 (diff)
downloadmpv-68d945159112d41fd3fb0cb4ab39389717b7a22b.tar.bz2
mpv-68d945159112d41fd3fb0cb4ab39389717b7a22b.tar.xz
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
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index bde9145c94..a5fe132d0a 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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;