Mercurial > mplayer.hg
changeset 26890:80bf10a56b7e
Offset should be size_t.
author | eugeni |
---|---|
date | Thu, 29 May 2008 18:35:18 +0000 |
parents | 32ab01bb3404 |
children | 29e92a7a75b6 |
files | libass/ass.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libass/ass.c Thu May 29 18:35:17 2008 +0000 +++ b/libass/ass.c Thu May 29 18:35:18 2008 +0000 @@ -855,7 +855,7 @@ 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;