]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix type mismatches for malloc(3) and Co.
authoruqs <uqs@FreeBSD.org>
Tue, 29 Dec 2015 11:24:41 +0000 (11:24 +0000)
committeruqs <uqs@FreeBSD.org>
Tue, 29 Dec 2015 11:24:41 +0000 (11:24 +0000)
commit11e0dd6c90098a31b4ee84a2af39114001952d67
treeb886de70650826ff015bc0343d808ffba0f524fd
parentd4f2c120c09150a7012ceea91a74ea068aa5a9c6
Fix type mismatches for malloc(3) and Co.

This is rather pedantic, as for most architectures it holds that
sizeof(type *) == sizeof(type **)

Found by: clang static analyzer
Reviewed by: ed
Differential Revision: https://reviews.freebsd.org/D4722
usr.bin/column/column.c
usr.bin/locate/locate/util.c
usr.bin/xargs/xargs.c
usr.sbin/mountd/mountd.c
usr.sbin/mpsutil/mps_cmd.c
usr.sbin/rpc.lockd/lockd.c
usr.sbin/rpc.statd/statd.c
usr.sbin/rtsold/rtsold.c