[MPlayer-cvslog] r20714 - trunk/libass/ass.c
eugeni
subversion at mplayerhq.hu
Sun Nov 5 18:26:55 CET 2006
Author: eugeni
Date: Sun Nov 5 18:26:55 2006
New Revision: 20714
Modified:
trunk/libass/ass.c
Log:
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
Modified: trunk/libass/ass.c
==============================================================================
--- trunk/libass/ass.c (original)
+++ trunk/libass/ass.c Sun Nov 5 18:26:55 2006
@@ -996,7 +996,6 @@
char* buf;
ass_track_t* track;
size_t bufsize;
- int i;
buf = read_file(fname, &bufsize);
if (!buf)
@@ -1037,7 +1036,7 @@
return 1;
#ifdef USE_ICONV
if (codepage) {
- unsigned char* tmpbuf;
+ char* tmpbuf;
tmpbuf = sub_recode(buf, sz, codepage);
free(buf);
buf = tmpbuf;
More information about the MPlayer-cvslog
mailing list