# HG changeset patch # User eugeni # Date 1155466469 0 # Node ID d9d58ba1b8332a43fb9e3ee90074ee0e76b2085a # Parent f3df92d9f549e49e802474970eac2c5153143ce8 Replace %lld with PRId64, part 2. diff -r f3df92d9f549 -r d9d58ba1b833 libass/ass.c --- a/libass/ass.c Sun Aug 13 10:19:35 2006 +0000 +++ b/libass/ass.c Sun Aug 13 10:54:29 2006 +0000 @@ -505,7 +505,7 @@ 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 -r f3df92d9f549 -r d9d58ba1b833 libass/ass_render.c --- a/libass/ass_render.c Sun Aug 13 10:19:35 2006 +0000 +++ b/libass/ass_render.c Sun Aug 13 10:54:29 2006 +0000 @@ -3,6 +3,7 @@ #include #include #include +#include #include #include FT_FREETYPE_H #include FT_STROKER_H @@ -669,7 +670,8 @@ 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;