]> git.ipfire.org Git - thirdparty/git.git/blobdiff - kwset.c
path.c: clarify trie_find()'s in-code comment
[thirdparty/git.git] / kwset.c
diff --git a/kwset.c b/kwset.c
index efc2ff41bc361a7a3bf940b04642ccba8538cb3b..fc439e0667f137f3449635a37a32f8418d5041f0 100644 (file)
--- a/kwset.c
+++ b/kwset.c
@@ -481,7 +481,7 @@ kwsprep (kwset_t kws)
        for (i = 0; i < NCHAR; ++i)
          kwset->next[i] = next[U(trans[i])];
       else
-       memcpy(kwset->next, next, NCHAR * sizeof(struct trie *));
+       COPY_ARRAY(kwset->next, next, NCHAR);
     }
 
   /* Fix things up for any translation table. */