mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-29 04:04:29 +00:00
Fixed compiler warning
SVN revision: 1828
This commit is contained in:
parent
8a7d23de0a
commit
65fd38aa76
@ -5270,9 +5270,9 @@ int is_full_html(char *file_name)
|
|||||||
read(fh, buf, length);
|
read(fh, buf, length);
|
||||||
close(fh);
|
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] = toupper(buf[i]);
|
||||||
str[i] = 0;
|
str[i] = 0;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user