# HG changeset patch # User eugeni # Date 1155430053 0 # Node ID acb26d9717da9d5458e3d5bc1cc9880caf639c8a # Parent 87dddfc314fdfcea7dbbe88d17b73d39128a95d4 MinGW treats %lld as %d. Replace it with PRId64. diff -r 87dddfc314fd -r acb26d9717da libass/ass.c --- a/libass/ass.c Sun Aug 13 00:44:42 2006 +0000 +++ b/libass/ass.c Sun Aug 13 00:47:33 2006 +0000 @@ -9,6 +9,7 @@ #include #include #include +#include #ifdef HAVE_ENCA #include "subreader.h" // for guess_buffer_cp @@ -504,7 +505,7 @@ str = malloc(size + 1); memcpy(str, data, size); str[size] = '\0'; - mp_msg(MSGT_GLOBAL, MSGL_V, "\nline at timecode %lld, duration %lld: \n%s\n", timecode, duration, str); + mp_msg(MSGT_GLOBAL, MSGL_V, "event at %" PRId64 ", +%" PRId64 ": %s \n", (uint64_t)timecode, (uint64_t)duration, str); eid = ass_alloc_event(track); event = track->events + eid;