changeset 6163:141a082e6da6

applied 64bit patch from Ulrich Hecht <uli at suse dot de>
author alex
date Thu, 23 May 2002 15:27:49 +0000
parents 0e56fbf9039a
children aee9c32349a9
files subreader.c vobsub.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/subreader.c	Thu May 23 15:16:03 2002 +0000
+++ b/subreader.c	Thu May 23 15:27:49 2002 +0000
@@ -658,7 +658,7 @@
 		ileft = strlen(ip);
 		oleft = ICBUFFSIZE - 1;
 		
-		if (iconv(icdsc, (const char **) &ip, &ileft,
+		if (iconv(icdsc, &ip, &ileft,
 			  &op, &oleft) == (size_t)(-1)) {
 			printf ("SUB: error recoding line.\n");
 			l++;
--- a/vobsub.c	Thu May 23 15:16:03 2002 +0000
+++ b/vobsub.c	Thu May 23 15:27:49 2002 +0000
@@ -725,7 +725,7 @@
     ssize_t line_size;
     int res = -1;
     do {
-	int line_reserve = 0;
+	size_t line_reserve = 0;
 	char *line = NULL;
 	line_size = getline(&line, &line_reserve, fd);
 	if (line_size < 0) {