diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-05-11 23:25:04 -0700 |
---|---|---|
committer | Johannes Schindelin <johannes.schindelin@gmx.de> | 2024-10-30 15:27:18 +0100 |
commit | 7e6073d27083054773f3c3b21a608f400cf7348d (patch) | |
tree | edce683a050888f370f67d28f70d4a6e53caff10 /commit-graph.c | |
parent | 5d828879f320501ba8fa75099ee01dc6f4c3cf77 (diff) |
compat/regex: fix argument order to calloc(3)
Windows compiler suddenly started complaining that calloc(3) takes
its arguments in <nmemb, size> order. Indeed, there are many calls
that has their arguments in a _wrong_ order.
Fix them all.
A sample breakage can be seen at
https://github.com/git/git/actions/runs/9046793153/job/24857988702#step:4:272
[Backported from f01301aabe1 (compat/regex: fix argument order to
calloc(3), 2024-05-11).]
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions