From 3ded26ccba9831ef4b4a2b22f2989fd9d5e72964 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 12 Feb 2013 01:49:38 +0100 Subject: mp_common: silence warning int64_t was accidentally used with "%lld" format specifiers, which is incorrect (even though long long int is always 64 bits, the type behind int64_t can be different, e.g. it can be long int on 64 bit platforms). --- core/mp_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/mp_common.c b/core/mp_common.c index 4fef9c37dd..611cb22bcf 100644 --- a/core/mp_common.c +++ b/core/mp_common.c @@ -31,7 +31,7 @@ char *mp_format_time(double time, bool fractions) sign[0] = '-'; } long long int itime = time; - int64_t h, m, s; + long long int h, m, s; s = itime; h = s / 3600; s -= h * 3600; -- cgit v1.2.3