X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fxml.c;fp=src%2Fxml.c;h=18721b1467db45a3b2278dc82d9aa8302058c390;hb=181e260339fc9836cca8928a26b66dea12abd2b6;hp=5c806cb46d06d9c41dd9776512a2262095206682;hpb=94cac6f0dec92954e0c7ab29903eb0cc48ede169;p=wimlib diff --git a/src/xml.c b/src/xml.c index 5c806cb4..18721b14 100644 --- a/src/xml.c +++ b/src/xml.c @@ -5,7 +5,7 @@ */ /* - * Copyright (C) 2012, 2013, 2015 Eric Biggers + * Copyright (C) 2012-2016 Eric Biggers * * This file is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free @@ -1027,7 +1027,7 @@ xml_print_image_info(struct wim_xml_info *info, int image) *----------------------------------------------------------------------------*/ static int -image_node_get_index(const xmlNode *node) +image_node_get_index(xmlNode *node) { u64 v = node_get_number((const xmlNode *)xmlHasProp(node, "INDEX"), 10); return min(v, INT_MAX);