]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
crt_malloc: use uintptr_t instead of long for arithmetic on addresses
authorKonstantin Belousov <kib@FreeBSD.org>
Tue, 12 Oct 2021 21:39:07 +0000 (00:39 +0300)
committerKonstantin Belousov <kib@FreeBSD.org>
Tue, 12 Oct 2021 23:37:09 +0000 (02:37 +0300)
commit0b72d2965d68113bce16f6cccea77257283ef0a7
treec4c2a695f2880f8d5a473128d07c397a80d28924
parentd1b6fef0751b70819e632d7d4722efbc8f94b80b
crt_malloc: use uintptr_t instead of long for arithmetic on addresses

and avoid unneeded casts

Reviewed by: arichardson (previous version)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D32474
libexec/rtld-elf/rtld_malloc.c