summaryrefslogtreecommitdiff
path: root/xml
diff options
context:
space:
mode:
authorIvan Zhakov <ivan@apache.org>2022-07-09 11:42:30 +0000
committerIvan Zhakov <ivan@apache.org>2022-07-09 11:42:30 +0000
commit835e807a0c1be000dae20bed9a2517d1a5315390 (patch)
treed10dfdfd418e3ef0fe498603172910cd766053a9 /xml
parente24756ebe12c236cfbc5d59559d4725c595583ab (diff)
downloadapr-835e807a0c1be000dae20bed9a2517d1a5315390.tar.gz
* xml/apr_xml_xmllite.c: Use proper type for local variables.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902599 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'xml')
-rw-r--r--xml/apr_xml_xmllite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xml/apr_xml_xmllite.c b/xml/apr_xml_xmllite.c
index 700e4771c..22651f47e 100644
--- a/xml/apr_xml_xmllite.c
+++ b/xml/apr_xml_xmllite.c
@@ -401,7 +401,7 @@ read_state(apr_xml_parser *parser,
if (node_type == XmlNodeType_Element) {
LPCWSTR wname;
UINT wname_len;
- ULONG attr_count;
+ UINT attr_count;
char **attrs;
const char* elem_name;
@@ -422,7 +422,7 @@ read_state(apr_xml_parser *parser,
}
if (attr_count > 0) {
- ULONG i;
+ UINT i;
attrs = apr_palloc(parser->p, sizeof(char*) * (attr_count + 1) * 2);