Missed earlier: LargeMemoryPhysicalPageMapper::MemsetPhysical(): Changed

pageOffset variable type from phys_addr_t to addr_t. Avoids potential width
difference when casting to pointer later (CID 4718).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40120 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2011-01-04 21:16:53 +00:00
parent 5defb0fe6f
commit 0af0e394a5
@@ -568,7 +568,7 @@ status_t
LargeMemoryPhysicalPageMapper::MemsetPhysical(phys_addr_t address, int value,
phys_size_t length)
{
phys_addr_t pageOffset = address % B_PAGE_SIZE;
addr_t pageOffset = address % B_PAGE_SIZE;
struct thread* thread = thread_get_current_thread();
ThreadCPUPinner _(thread);