From 68d945159112d41fd3fb0cb4ab39389717b7a22b Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 7 Mar 2010 09:13:18 +0000 Subject: 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 --- mplayer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mplayer.c') 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; -- cgit v1.2.3