X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fjoin.c;fp=src%2Fjoin.c;h=7999b683afc5b59ef4ca66ef992d49e929117a22;hp=da4ac406ec70226bf8975821eb4937bc425eeb53;hb=f1c07e953597e3f6a809d35d7d5160af1ff67ed3;hpb=9df357d0ac3ac1f5386873dd20df2639cecd64b3 diff --git a/src/join.c b/src/join.c index da4ac406..7999b683 100644 --- a/src/join.c +++ b/src/join.c @@ -94,7 +94,7 @@ verify_swm_set(WIMStruct *wim, WIMStruct **additional_swms, * checked to be the same as wim->hdr.total_parts. Otherwise, it * could be unexpectedly high and cause a stack overflow. */ WIMStruct *parts_to_swms[num_additional_swms]; - ZERO_ARRAY(parts_to_swms); + memset(parts_to_swms, 0, sizeof(parts_to_swms)); for (unsigned i = 0; i < num_additional_swms; i++) { WIMStruct *swm = additional_swms[i];