X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fxml.c;h=5c806cb46d06d9c41dd9776512a2262095206682;hp=6ce578d9b17d5151b0977a9123ca711c28333839;hb=a6e135c6aff65a4fc0141d056a9d4a15549a3545;hpb=bb8c4222f31ab9b6a62088e661e44d2de71de91a 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. */