diff options
author | wm4 <wm4@nowhere> | 2013-02-12 01:49:38 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-02-12 10:20:50 +0100 |
commit | 3ded26ccba9831ef4b4a2b22f2989fd9d5e72964 (patch) | |
tree | bcc2bcd342089c96d39e5095add34748f1dfd1fb /core | |
parent | 517d6dbfca9e2d111e3d4fe1a9f5f6a7e1f58b54 (diff) | |
download | mpv-3ded26ccba9831ef4b4a2b22f2989fd9d5e72964.tar.bz2 mpv-3ded26ccba9831ef4b4a2b22f2989fd9d5e72964.tar.xz |
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).
Diffstat (limited to 'core')
-rw-r--r-- | core/mp_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |