l10n: it.po: update the Italian localization for v2.23.0 round 2
[gitweb.git] / fast-import.c
index 3970b50acc28283b031bb2e7f3782d21eb6059a7..b44d6a467ef17f3d2f541475ab1f4ce968504a5e 100644 (file)
@@ -644,7 +644,7 @@ static struct tree_content *grow_tree_content(
        struct tree_content *r = new_tree_content(t->entry_count + amt);
        r->entry_count = t->entry_count;
        r->delta_depth = t->delta_depth;
-       memcpy(r->entries,t->entries,t->entry_count*sizeof(t->entries[0]));
+       COPY_ARRAY(r->entries, t->entries, t->entry_count);
        release_tree_content(t);
        return r;
 }