openocd
openocd copied to clipboard
fix fatal cmalloc warnings as seen with gcc (SUSE Linux) 14.2.1
gcc 14 spits out warning error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument
This aborts the build due to treating warnings as error.
Easy fix is swapping arguments
Duplicate of #101 ?
as long as you define issue == solution :)
I searched for that error message and did not find the workaround before I fixed it, so I guess a solution would help others not to waste their time.