]> git.ipfire.org Git - thirdparty/glibc.git/commit
cheri: malloc: avoid switch over uintptr_t
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Mon, 28 Mar 2022 12:57:10 +0000 (13:57 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 27 Oct 2022 13:46:53 +0000 (14:46 +0100)
commitdc8f9560104f0803e53fa23bfd011aa9878d5a97
tree88767316238e393a04f50a5a4cac4ec118cb4524
parent0ca08c2c7b100baaebbd60744110102611f9b895
cheri: malloc: avoid switch over uintptr_t

We should use a type that guarantees to represent all address bits.
In CHERI C this would be ptraddr_t, but we use unsigned long for now
not to cause regressions on other targets where this type is missing.
malloc/mcheck-impl.c