VirtualBox

Changeset 15864 in vbox


Ignore:
Timestamp:
Jan 8, 2009 12:45:41 PM (16 years ago)
Author:
vboxsync
Message:

REM: fixed cast warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler_new/exec-all.h

    r15774 r15864  
    421421    return addr + env1->tlb_table[mmu_idx][page_index].addend;
    422422# elif defined(VBOX)
    423     return remR3HCVirt2GCPhys(env1, (void *)(addr + env1->tlb_table[mmu_idx][page_index].addend));
     423    return remR3HCVirt2GCPhys(env1, (void *)(uintptr_t)(addr + env1->tlb_table[mmu_idx][page_index].addend));
    424424# else
    425425    return addr + env1->tlb_table[mmu_idx][page_index].addend - (unsigned long)phys_ram_base;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette