[MPlayer-cvslog] r30857 - trunk/mplayer.c
reimar
subversion at mplayerhq.hu
Sun Mar 7 10:13:18 CET 2010
Author: reimar
Date: Sun Mar 7 10:13:18 2010
New Revision: 30857
Log:
Use int64_t instead of long for variable containing current playback time.
Modified:
trunk/mplayer.c
Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c Sat Mar 6 12:50:54 2010 (r30856)
+++ trunk/mplayer.c Sun Mar 7 10:13:18 2010 (r30857)
@@ -1211,7 +1211,7 @@ static void saddf(char *buf, unsigned *p
* \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;
More information about the MPlayer-cvslog
mailing list