changeset 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 9257c04720ed
children a833af23a3be
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;