[MPlayer-cvslog] r26922 - trunk/libass/ass.c
eugeni
subversion at mplayerhq.hu
Thu May 29 20:35:19 CEST 2008
Author: eugeni
Date: Thu May 29 20:35:18 2008
New Revision: 26922
Log:
Offset should be size_t.
Modified:
trunk/libass/ass.c
Modified: trunk/libass/ass.c
==============================================================================
--- trunk/libass/ass.c (original)
+++ trunk/libass/ass.c Thu May 29 20:35:18 2008
@@ -855,7 +855,7 @@ static char* sub_recode(char* data, size
rc = iconv(icdsc, &ip, &ileft, &op, &oleft);
if (rc == (size_t)(-1)) {
if (errno == E2BIG) {
- int offset = op - outbuf;
+ size_t offset = op - outbuf;
outbuf = (char*)realloc(outbuf, osize + size);
op = outbuf + offset;
osize += size;
More information about the MPlayer-cvslog
mailing list