From a6e135c6aff65a4fc0141d056a9d4a15549a3545 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sun, 17 Jan 2016 17:06:11 -0600 Subject: [PATCH] xml: (style) use u32 instead of uint32_t --- src/xml.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xml.c b/src/xml.c index 6ce578d9..5c806cb4 100644 --- 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. */ -- 2.43.0