pussuw commented on code in PR #12923:
URL: https://github.com/apache/nuttx/pull/12923#discussion_r1718707807
##########
mm/map/vm_region.c:
##########
@@ -125,7 +125,7 @@ FAR void *vm_map_region(uintptr_t paddr, size_t size)
}
}
- return vaddr + (MM_PGMASK & paddr);
+ return (void *)((uintptr_t)vaddr + (MM_PGMASK & paddr));
error:
if (i) /* undo alway mapped pages */
Review Comment:
I did that
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]