Fixed compiler warning

SVN revision: 1828
This commit is contained in:
Stefan Ritt 2007-04-03 15:36:17 +00:00
parent 8a7d23de0a
commit 65fd38aa76

View File

@ -5270,9 +5270,9 @@ int is_full_html(char *file_name)
read(fh, buf, length);
close(fh);
str = xstrdup(buf);
str = xstrdup((char *)buf);
for (i = 0; i < (int) strlen(buf); i++)
for (i = 0; i < (int) strlen((char *)buf); i++)
str[i] = toupper(buf[i]);
str[i] = 0;