Page MenuHomeFreeBSD

soxstack: slience 32-bit gcc warning
ClosedPublic

Authored by brooks on May 3 2024, 9:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 5, 5:51 PM
Unknown Object (File)
Oct 25 2024, 8:05 AM
Unknown Object (File)
Oct 11 2024, 8:19 AM
Unknown Object (File)
Oct 8 2024, 11:01 AM
Unknown Object (File)
Sep 21 2024, 5:57 PM
Unknown Object (File)
Sep 21 2024, 2:35 PM
Unknown Object (File)
Sep 19 2024, 10:13 AM
Unknown Object (File)
Sep 19 2024, 1:30 AM
Subscribers

Details

Summary

Modern GCC complains when casting pointers to integers of a different
size (even a larger one). Switch from uint64_t to uintptr_t which will
always be the right size for a stack address instead of maybe being too
big.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable