X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fxml.h;h=5eb24c9c6a139869810580cba4af45c30d48c23f;hp=f9999e905e8403e35259c5a3721de4b21d7eb313;hb=b3d65ccab09cc7f33380cb5bf43709349d079087;hpb=d0e7f039e4ab206b9fd973c983e3fb841fcd2bf2 diff --git a/src/xml.h b/src/xml.h index f9999e90..5eb24c9c 100644 --- a/src/xml.h +++ b/src/xml.h @@ -6,7 +6,7 @@ /* A struct wim_info structure corresponds to the entire XML data for a WIM file. */ struct wim_info { u64 total_bytes; - u64 num_images; + int num_images; /* Array of `struct image_info's, one for each image in the WIM that is * mentioned in the XML data. */ struct image_info *images; @@ -34,7 +34,7 @@ extern int read_xml_data(FILE *fp, const struct resource_entry *res, u8 **xml_data_ret, struct wim_info **info_ret); extern int write_xml_data(const struct wim_info *wim_info, int image, FILE *out, - u64 total_bytes); + u64 total_bytes, struct resource_entry *out_res_entry); static inline u64 wim_info_get_total_bytes(const struct wim_info *info) {