aboutsummaryrefslogtreecommitdiff
path: root/diffcore-delta.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-02-13 13:39:24 -0800
committerJunio C Hamano <gitster@pobox.com>2026-02-13 13:39:24 -0800
commitb8524125239a2dd9bbc2bc87deda475f9cc3580e (patch)
tree4bdd70670cbaf567ae2ab3ef4d749a5b298d897f /diffcore-delta.c
parent453e7b744aef0d9dab62dac6ab030bb643a2e117 (diff)
parent60614838a44591c1449f939236f396bb7164b5ef (diff)
downloadgit-b8524125239a2dd9bbc2bc87deda475f9cc3580e.tar.xz
Merge branch 'tc/memzero-array'
Coccinelle rules update. * tc/memzero-array: cocci: extend MEMZERO_ARRAY() rules
Diffstat (limited to 'diffcore-delta.c')
-rw-r--r--diffcore-delta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diffcore-delta.c b/diffcore-delta.c
index 2de9e9ccff..2b7db39983 100644
--- a/diffcore-delta.c
+++ b/diffcore-delta.c
@@ -135,7 +135,7 @@ static struct spanhash_top *hash_chars(struct repository *r,
st_mult(sizeof(struct spanhash), (size_t)1 << i)));
hash->alloc_log2 = i;
hash->free = INITIAL_FREE(i);
- MEMZERO_ARRAY(hash->data, ((size_t)1 << i));
+ MEMZERO_ARRAY(hash->data, (size_t)1 << i);
n = 0;
accum1 = accum2 = 0;