mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
CLEANUP: Reapply xalloc_cast.cocci
This reapplies xalloc_cast.cocci across the whole src/ tree.
This commit is contained in:
parent
f88ea5949c
commit
7c317f4619
1 changed files with 1 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ int cpu_map_configured(void)
|
|||
static int cpuset_alloc(void)
|
||||
{
|
||||
/* allocate the structures used to store CPU topology info */
|
||||
cpu_map = (struct cpu_map*)calloc(MAX_TGROUPS, sizeof(*cpu_map));
|
||||
cpu_map = calloc(MAX_TGROUPS, sizeof(*cpu_map));
|
||||
if (!cpu_map)
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue