]> wimlib.net Git - wimlib/commitdiff
xml: (style) use u32 instead of uint32_t
authorEric Biggers <ebiggers3@gmail.com>
Sun, 17 Jan 2016 23:06:11 +0000 (17:06 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 17 Jan 2016 23:09:20 +0000 (17:09 -0600)
src/xml.c

index 6ce578d9b17d5151b0977a9123ca711c28333839..5c806cb46d06d9c41dd9776512a2262095206682 100644 (file)
--- a/src/xml.c
+++ b/src/xml.c
@@ -343,14 +343,14 @@ alloc_wim_xml_info(void)
 }
 
 static bool
-parse_index(xmlChar **pp, uint32_t *index_ret)
+parse_index(xmlChar **pp, u32 *index_ret)
 {
        xmlChar *p = *pp;
-       uint32_t index = 0;
+       u32 index = 0;
 
        *p++ = '\0'; /* overwrite '[' */
        while (*p >= '0' && *p <= '9') {
-               uint32_t n = (index * 10) + (*p++ - '0');
+               u32 n = (index * 10) + (*p++ - '0');
                if (n < index)
                        return false;
                index = n;
@@ -393,7 +393,7 @@ do_xml_path_walk(xmlNode *node, const xmlChar *path, bool create,
        while (c != '\0') {
                const xmlChar *name;
                xmlNode *child;
-               uint32_t index = 1;
+               u32 index = 1;
 
                /* We have another path component.  */