From 070c050f0a82887d6eafa33e81361929d6b9761a Mon Sep 17 00:00:00 2001 From: eugeni Date: Sun, 13 Aug 2006 10:54:29 +0000 Subject: Replace %lld with PRId64, part 2. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19384 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libass/ass.c | 2 +- libass/ass_render.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'libass') diff --git a/libass/ass.c b/libass/ass.c index 76d97ca2e3..4738946d95 100644 --- a/libass/ass.c +++ b/libass/ass.c @@ -505,7 +505,7 @@ void ass_process_line(ass_track_t* track, char *data, int size, long long timeco str = malloc(size + 1); memcpy(str, data, size); str[size] = '\0'; - mp_msg(MSGT_GLOBAL, MSGL_V, "event at %" PRId64 ", +%" PRId64 ": %s \n", (uint64_t)timecode, (uint64_t)duration, str); + mp_msg(MSGT_GLOBAL, MSGL_V, "event at %" PRId64 ", +%" PRId64 ": %s \n", (int64_t)timecode, (int64_t)duration, str); eid = ass_alloc_event(track); event = track->events + eid; diff --git a/libass/ass_render.c b/libass/ass_render.c index f567520c06..e5f88f4c4e 100644 --- a/libass/ass_render.c +++ b/libass/ass_render.c @@ -3,6 +3,7 @@ #include #include #include +#include #include #include FT_FREETYPE_H #include FT_STROKER_H @@ -669,7 +670,8 @@ static char* parse_tag(char* p, double pwr) { t1 = strtoll(p, &p, 10); skip(','); t2 = strtoll(p, &p, 10); - mp_msg(MSGT_GLOBAL, MSGL_DBG2, "movement6: (%d, %d) -> (%d, %d), (%lld .. %lld)\n", x1, y1, x2, y2, t1, t2); + mp_msg(MSGT_GLOBAL, MSGL_DBG2, "movement6: (%d, %d) -> (%d, %d), (%" PRId64 " .. %" PRId64 ")\n", + x1, y1, x2, y2, (int64_t)t1, (int64_t)t2); } else { t1 = 0; t2 = render_context.event->Duration; -- cgit v1.2.3