mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +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);
|
||||
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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user