summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-02-04 00:14:06 +0000
committerrwatson <rwatson@FreeBSD.org>2006-02-04 00:14:06 +0000
commit2301c52905434ec7d392e614c9af6f852b2388c4 (patch)
treed36b46197f646b0b9477ba137dc053de8822bf7b /lib/libc/stdlib
parent0bab7ecd73b29c219c1b323da1c9c201e790744b (diff)
downloadFreeBSD-src-2301c52905434ec7d392e614c9af6f852b2388c4.zip
FreeBSD-src-2301c52905434ec7d392e614c9af6f852b2388c4.tar.gz
Cast pointers to (uintptr_t) before down-casting to (int). This avoids
an incompatible conversion from a 64-bit pointer to a 32-bit integer on 64-bit platforms. We will investigate whether Solaris uses a 64-bit token here, or a new record here, in order to avoid truncating user pointers that are 64-bit. However, in the mean time, truncation is fine as these are rarely/never used fields in audit records. Obtained from: TrustedBSD Project
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud