Merge pull request from libexpat/address-frama-c-warning

Address Frama-C warning
This commit is contained in:
Sebastian Pipping 2025-03-21 23:49:12 +01:00 committed by GitHub
commit ec81c552a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -42,6 +42,7 @@ Release 2.7.1 ??? ????? ?? ????
#976 #977 Autotools: Integrate files "fuzz/xml_lpm_fuzzer.{cpp,proto}"
with Automake that were missing from 2.7.0 release tarballs
#983 #984 Fix printf format specifiers for 32bit Emscripten
#986 Address compiler warnings
Infrastructure:
#981 CI: Cover compilation with musl

View file

@ -8245,7 +8245,7 @@ entityTrackingReportStats(XML_Parser rootParser, ENTITY *entity,
(void *)rootParser, rootParser->m_entity_stats.countEverOpened,
rootParser->m_entity_stats.currentDepth,
rootParser->m_entity_stats.maximumDepthSeen,
(rootParser->m_entity_stats.currentDepth - 1) * 2, "",
((int)rootParser->m_entity_stats.currentDepth - 1) * 2, "",
entity->is_param ? "%" : "&", entityName, action, entity->textLen,
sourceLine);
}