diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-05-29 18:35:18 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-05-29 18:35:18 +0000 |
commit | d3e1f76cac618cd2e3a049126b1ac0c2c0641487 (patch) | |
tree | 51be4bef2e8d188e10389a2f4333eb62ee0e6ef1 | |
parent | f5a8ce6408d5f33c387a93a0d4f7881edcdc2ce6 (diff) |
Offset should be size_t.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26922 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libass/ass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass.c b/libass/ass.c index df65dbda46..4b803db95d 100644 --- a/libass/ass.c +++ b/libass/ass.c @@ -855,7 +855,7 @@ static char* sub_recode(char* data, size_t size, char* codepage) 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; |