HomeFreeBSD

libcasper: Consistently use item count as the first argument to calloc

Description

libcasper: Consistently use item count as the first argument to calloc

Reported by: GCC 14 -Wcalloc-transposed-args
Reviewed by: rlibby, emaste
Differential Revision: https://reviews.freebsd.org/D46005

(cherry picked from commit 5275d1ddb42dc70fb87925e59445059068c08271)

Details

Provenance
jhbAuthored on Jul 19 2024, 5:01 PM
Reviewer
rlibby
Differential Revision
D46005: libcasper: Consistently use item count as the first argument to calloc
Parents
rG3cbb192a9ee8: stdatomic: Only use clang atomics if __clang__ is defined
Branches
Unknown
Tags
Unknown