Quiet int-to-pointer-cast warnings on i386 with GCC 9.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D26200
This commit is contained in:
parent
51bb2fccfd
commit
67dc6bed1f
@ -290,8 +290,8 @@ efi_check_space(vm_offset_t end)
|
||||
* translation still works.
|
||||
*/
|
||||
staging_base = addr;
|
||||
memmove((void *)staging_base, (void *)staging,
|
||||
staging_end - staging);
|
||||
memmove((void *)(uintptr_t)staging_base,
|
||||
(void *)(uintptr_t)staging, staging_end - staging);
|
||||
stage_offset -= (staging - staging_base);
|
||||
staging = staging_base;
|
||||
return (true);
|
||||
|
Loading…
Reference in New Issue
Block a user