mirror of
https://gitea.psi.ch/ELOG/mxml.git
synced 2026-09-09 01:23:22 +00:00
Fixed compiler warning under Windows
This commit is contained in:
parent
ee558d0032
commit
cc52e6327f
2
mxml.c
2
mxml.c
@ -1792,7 +1792,7 @@ int mxml_parse_entity(char **buf, char *file_name, char *error, int error_size)
|
|||||||
while (1) {
|
while (1) {
|
||||||
pv = strstr(p, entity_name[i]);
|
pv = strstr(p, entity_name[i]);
|
||||||
if (pv) {
|
if (pv) {
|
||||||
length += -strlen(entity_name[i]) + strlen(entity_value[i]);
|
length += strlen(entity_value[i]) - strlen(entity_name[i]);
|
||||||
p = pv + 1;
|
p = pv + 1;
|
||||||
} else {
|
} else {
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user