changeset 20698:7088929a2cb8

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
author eugeni
date Sun, 05 Nov 2006 17:26:55 +0000
parents 520a41b09719
children d46e820e31df
files libass/ass.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass.c	Sun Nov 05 17:08:36 2006 +0000
+++ b/libass/ass.c	Sun Nov 05 17:26:55 2006 +0000
@@ -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;