You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by iv...@apache.org on 2022/07/09 11:42:30 UTC

svn commit: r1902599 - /apr/apr/trunk/xml/apr_xml_xmllite.c

Author: ivan
Date: Sat Jul  9 11:42:30 2022
New Revision: 1902599

URL: http://svn.apache.org/viewvc?rev=1902599&view=rev
Log:
* xml/apr_xml_xmllite.c: Use proper type for local variables.

Modified:
    apr/apr/trunk/xml/apr_xml_xmllite.c

Modified: apr/apr/trunk/xml/apr_xml_xmllite.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/xml/apr_xml_xmllite.c?rev=1902599&r1=1902598&r2=1902599&view=diff
==============================================================================
--- apr/apr/trunk/xml/apr_xml_xmllite.c (original)
+++ apr/apr/trunk/xml/apr_xml_xmllite.c Sat Jul  9 11:42:30 2022
@@ -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);