mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Cast pointer through uintptr_t on the way to uint64_t to squelch a warning.
This commit is contained in:
parent
95181ed7ff
commit
24bbe7a40c
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ uboot_loadaddr(u_int type, void *data, uint64_t addr)
|
|||
|
||||
biggest_block = 0;
|
||||
biggest_size = 0;
|
||||
subldr = rounddown2((uint64_t)_start, KERN_ALIGN);
|
||||
subldr = rounddown2((uint64_t)(uintptr_t)_start, KERN_ALIGN);
|
||||
eubldr = roundup2((uint64_t)uboot_heap_end, KERN_ALIGN);
|
||||
for (i = 0; i < si->mr_no; i++) {
|
||||
if (si->mr[i].flags != MR_ATTR_DRAM)
|
||||
|
|
|
|||
Loading…
Reference in a new issue