]> wimlib.net Git - wimlib/blobdiff - src/xml.c
New compression/decompression API
[wimlib] / src / xml.c
index 920eeeb5e1194db05f90a1c88a0d61ed607fbd4e..542fc3791b7d1ce8c4ddfe0bc3c482046a995d8e 100644 (file)
--- a/src/xml.c
+++ b/src/xml.c
@@ -690,7 +690,7 @@ xml_write_strings_from_specs(xmlTextWriter *writer,
        for (size_t i = 0; i < num_specs; i++) {
                int rc = xml_write_string(writer, specs[i].name,
                                      *(const tchar * const *)
-                                       (struct_with_strings + specs[i].offset));
+                                       (struct_with_strings + specs[i].offset));
                if (rc)
                        return rc;
        }
@@ -1521,8 +1521,7 @@ write_wim_xml_data(WIMStruct *wim, int image, u64 total_bytes,
                                             0,
                                             out_reshdr,
                                             NULL,
-                                            write_resource_flags,
-                                            &wim->lzx_context);
+                                            write_resource_flags);
        FREE(xml_data);
        DEBUG("ret=%d", ret);
        return ret;