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)
Sat, May 30, 11:49 AM
Unknown Object (File)
Wed, May 20, 10:59 PM
Unknown Object (File)
Fri, May 15, 4:39 AM
Unknown Object (File)
Thu, May 14, 6:46 PM
Unknown Object (File)
Thu, May 14, 5:26 PM
Unknown Object (File)
Mon, May 11, 10:30 PM
Unknown Object (File)
May 3 2026, 6:22 AM
Unknown Object (File)
Apr 28 2026, 11:10 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