diff options
Diffstat (limited to 'src/kernel/mem/virt.c')
-rw-r--r-- | src/kernel/mem/virt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/mem/virt.c b/src/kernel/mem/virt.c index 7a38a88..a9450c7 100644 --- a/src/kernel/mem/virt.c +++ b/src/kernel/mem/virt.c @@ -42,7 +42,7 @@ bool virt_iter_next(struct virt_iter *iter) { } else { // "iterate" over physical memory // the double cast supresses the warning about changing address spaces - iter->frag = (void*)(uintptr_t)iter->_virt; + iter->frag = (void* __force)iter->_virt; } iter->frag_len = partial; |