diff mplayer.c @ 30815:1878922f2ce0

Use int64_t instead of long for variable containing current playback time.
author reimar
date Sun, 07 Mar 2010 09:13:18 +0000
parents 16bb5e90205f
children 977fd535cc9d
line wrap: on
line diff
--- a/mplayer.c	Sat Mar 06 11:50:54 2010 +0000
+++ b/mplayer.c	Sun Mar 07 09:13:18 2010 +0000
@@ -1211,7 +1211,7 @@
  * \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;