diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-11-05 17:26:55 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-11-05 17:26:55 +0000 |
commit | f78a3783e5d58d7e77d27e1a87df9a9d17e240e5 (patch) | |
tree | 9a562c4d0ec4dd4f5cf16d9c04d2eeab4aeeb240 /libass | |
parent | 506b4783ec26e795349ae1e10273f3810e86e0b2 (diff) | |
download | mpv-f78a3783e5d58d7e77d27e1a87df9a9d17e240e5.tar.bz2 mpv-f78a3783e5d58d7e77d27e1a87df9a9d17e240e5.tar.xz |
Fix the following compiler warnings:
ass.c:999: warning: unused variable 'i'
ass.c:1041: warning: pointer targets in assignment differ in signedness
ass.c:1043: warning: pointer targets in assignment differ in signedness
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20714 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass')
-rw-r--r-- | libass/ass.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libass/ass.c b/libass/ass.c index dba3f38caa..654fcdb811 100644 --- a/libass/ass.c +++ b/libass/ass.c @@ -996,7 +996,6 @@ ass_track_t* ass_read_file(ass_library_t* library, char* fname, char* codepage) char* buf; ass_track_t* track; size_t bufsize; - int i; buf = read_file(fname, &bufsize); if (!buf) @@ -1037,7 +1036,7 @@ int ass_read_styles(ass_track_t* track, char* fname, char* codepage) return 1; #ifdef USE_ICONV if (codepage) { - unsigned char* tmpbuf; + char* tmpbuf; tmpbuf = sub_recode(buf, sz, codepage); free(buf); buf = tmpbuf; |