git://wimlib.net
/
wimlib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fb38bf4
)
xml: (style) use u32 instead of uint32_t
author
Eric Biggers
<ebiggers3@gmail.com>
Sun, 17 Jan 2016 23:06:11 +0000
(17:06 -0600)
committer
Eric Biggers
<ebiggers3@gmail.com>
Sun, 17 Jan 2016 23:09:20 +0000
(17:09 -0600)
src/xml.c
patch
|
blob
|
history
diff --git
a/src/xml.c
b/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
}
static bool
-parse_index(xmlChar **pp, u
int32_t
*index_ret)
+parse_index(xmlChar **pp, u
32
*index_ret)
{
xmlChar *p = *pp;
{
xmlChar *p = *pp;
- u
int32_t
index = 0;
+ u
32
index = 0;
*p++ = '\0'; /* overwrite '[' */
while (*p >= '0' && *p <= '9') {
*p++ = '\0'; /* overwrite '[' */
while (*p >= '0' && *p <= '9') {
- u
int32_t
n = (index * 10) + (*p++ - '0');
+ u
32
n = (index * 10) + (*p++ - '0');
if (n < index)
return false;
index = n;
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;
while (c != '\0') {
const xmlChar *name;
xmlNode *child;
- u
int32_t
index = 1;
+ u
32
index = 1;
/* We have another path component. */
/* We have another path component. */