aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs/pass3.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2018-08-18 20:28:25 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2018-08-18 20:28:25 +0000
commit0b600ec4ae09fa3bcbbc824091a1a4926c443e35 (patch)
tree494d9f7e9cbaf432439899a1bff7e3bf7f87eceb /sbin/fsck_ffs/pass3.c
parent5cb9940ce252cc9380b9ebcd477bb279404b1b30 (diff)
downloadsrc-0b600ec4ae09fa3bcbbc824091a1a4926c443e35.tar.gz
src-0b600ec4ae09fa3bcbbc824091a1a4926c443e35.zip
Fix casts between 64-bit physical addresses and pointers in EFI.
Compiling FreeBSD/i386 with modern GCC triggers warnings for various places that convert 64-bit EFI_ADDRs to pointers and vice versa. - Cast pointers to uintptr_t rather than to uint64_t when assigning to a 64-bit integer. - Cast 64-bit integers to uintptr_t before a cast to a pointer. Reviewed by: kevans MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D16586
Notes
Notes: svn path=/head/; revision=338022
Diffstat (limited to 'sbin/fsck_ffs/pass3.c')
0 files changed, 0 insertions, 0 deletions