]> wimlib.net Git - wimlib/blobdiff - src/join.c
Clean up util.h and util.c
[wimlib] / src / join.c
index da4ac406ec70226bf8975821eb4937bc425eeb53..7999b683afc5b59ef4ca66ef992d49e929117a22 100644 (file)
@@ -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];