mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-02 10:12:03 +00: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
@ -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 New Issue
Block a user