summaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse-xml.c')
-rw-r--r--parse-xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-xml.c b/parse-xml.c
index a7a44c5d0..97c93fc6d 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -656,7 +656,7 @@ static void double_to_permil(char *buffer, void *_i)
static void hex_value(char *buffer, void *_i)
{
uint32_t *i = _i;
- *i = strtol(buffer, NULL, 16);
+ *i = strtoul(buffer, NULL, 16);
}
static void get_tripflag(char *buffer, void *_tf)