X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fxml.c;h=268b9d9ec2c81b09e5b4e8d57973649bef8ffc5d;hp=79d6b3e6e376c51430031f215b2931a93d32678e;hb=541b65d79e0c73238a25e2c2661711d8593d0684;hpb=118cdc5cac01aad79e3314bf92cbbd924d48860c diff --git a/src/xml.c b/src/xml.c index 79d6b3e6..268b9d9e 100644 --- a/src/xml.c +++ b/src/xml.c @@ -155,7 +155,7 @@ static int node_get_string(const xmlNode *string_node, utf8char **str) { xmlNode *child; - char *p = NULL; + utf8char *p = NULL; for_node_child(string_node, child) { if (node_is_text(child) && child->content) { @@ -1164,7 +1164,7 @@ void print_image_info(const struct wim_info *wim_info, int image) { const struct image_info *image_info; - const char *desc; + const utf8char *desc; char buf[50]; wimlib_assert(image >= 1 && image <= wim_info->num_images); @@ -1555,7 +1555,7 @@ wimlib_set_image_descripton(WIMStruct *w, int image, WIMLIBAPI int wimlib_set_image_flags(WIMStruct *w, int image, const utf8char *flags) { - char *p; + utf8char *p; if (image < 1 || image > w->hdr.image_count) { ERROR("%d is not a valid image", image);