X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fresource.c;h=24526a8310370a443b7c838b43ae4805a8098c0d;hp=53283f2c3c5b3edf632331024910098e48b9bcf5;hb=b79d426cd90c506974f6c956a9af141b5d257d42;hpb=007f90a1238acc862953957460d78ccdf497aeaa diff --git a/src/resource.c b/src/resource.c index 53283f2c..24526a83 100644 --- a/src/resource.c +++ b/src/resource.c @@ -26,7 +26,6 @@ # include "config.h" #endif -#include "wimlib.h" #include "wimlib/assert.h" #include "wimlib/endianness.h" #include "wimlib/error.h" @@ -207,7 +206,7 @@ read_compressed_wim_resource(const struct wim_resource_spec * const rspec, rspec->wim->decompressor_ctype = WIMLIB_COMPRESSION_TYPE_NONE; rspec->wim->decompressor = NULL; } else { - ret = wimlib_create_decompressor(ctype, chunk_size, NULL, + ret = wimlib_create_decompressor(ctype, chunk_size, &decompressor); if (ret) { if (ret != WIMLIB_ERR_NOMEM)