X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fjoin.c;h=2c459d30aa1d4826a80835cf3ee16021d823eabe;hp=3500654168671247318c0f866f18e0967d5aebf0;hb=c9482ee98e12fa3f1073e4fc3c56f5eef3c40f32;hpb=12d5058b6fdcefbaef9d8d4a199d8bf5df3d5f30 diff --git a/src/join.c b/src/join.c index 35006541..2c459d30 100644 --- a/src/join.c +++ b/src/join.c @@ -158,8 +158,7 @@ wimlib_join(const tchar * const *swm_names, if (ret) goto out_free_wims; - ret = wimlib_create_new_wim(wimlib_get_compression_type(swms[0]), - &joined_wim); + ret = wimlib_create_new_wim(swms[0]->compression_type, &joined_wim); if (ret) goto out_free_wims;