]> wimlib.net Git - wimlib/blobdiff - examples/compressfile.c
wimlib.h: fix typo
[wimlib] / examples / compressfile.c
index 8ee2a8ae4dd2ed40b835da64c93a363787c7c58a..6887e0e4cae389c676bb023a1a46eab269ac6327 100644 (file)
@@ -146,7 +146,7 @@ int main(int argc, char **argv)
 
        /* Create a compressor for the compression type and chunk size with the
         * default parameters.  */
-       ret = wimlib_create_compressor(ctype, chunk_size, NULL, &compressor);
+       ret = wimlib_create_compressor(ctype, chunk_size, 0, &compressor);
        if (ret != 0)
                error(1, 0, "Failed to create compressor: %s",
                      wimlib_get_error_string(ret));