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
This commit is contained in:
eugeni 2006-11-05 17:26:55 +00:00
parent 506b4783ec
commit f78a3783e5
1 changed files with 1 additions and 2 deletions

View File

@ -996,7 +996,6 @@ ass_track_t* ass_read_file(ass_library_t* library, char* fname, char* codepage)
char* buf; char* buf;
ass_track_t* track; ass_track_t* track;
size_t bufsize; size_t bufsize;
int i;
buf = read_file(fname, &bufsize); buf = read_file(fname, &bufsize);
if (!buf) if (!buf)
@ -1037,7 +1036,7 @@ int ass_read_styles(ass_track_t* track, char* fname, char* codepage)
return 1; return 1;
#ifdef USE_ICONV #ifdef USE_ICONV
if (codepage) { if (codepage) {
unsigned char* tmpbuf; char* tmpbuf;
tmpbuf = sub_recode(buf, sz, codepage); tmpbuf = sub_recode(buf, sz, codepage);
free(buf); free(buf);
buf = tmpbuf; buf = tmpbuf;