1
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 06:03:45 +01:00

applied 64bit patch from Ulrich Hecht <uli at suse dot de>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6164 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2002-05-23 15:27:49 +00:00
parent 38ea65626f
commit cdfc03fab6
2 changed files with 2 additions and 2 deletions

View File

@ -658,7 +658,7 @@ subtitle* subcp_recode (subtitle *sub)
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++;

View File

@ -725,7 +725,7 @@ vobsub_parse_one_line(vobsub_t *vob, FILE *fd)
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) {