]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Cast using uintfptr_t and eliminate the cast to uint64_t which is uneeded
authorIan Lepore <ian@FreeBSD.org>
Tue, 12 Jan 2016 16:31:07 +0000 (16:31 +0000)
committerIan Lepore <ian@FreeBSD.org>
Tue, 12 Jan 2016 16:31:07 +0000 (16:31 +0000)
commitc1f892e0d16efb8eefd25be64c36c3add2d29c8d
treec56eec69de9aaa04a4f44eae794b5fd5851d30ef
parent16b3294e2f317d0708dc838d127f89112ab3bd30
Cast using uintfptr_t and eliminate the cast to uint64_t which is uneeded
because rounding down cannot increase the number of bits needed to express
the result.

I had no idea there was such a thing as uintfptr_t.

Requested by: bde
sys/boot/uboot/lib/copy.c