VirtualBox

Changeset 15012 in vbox for trunk


Ignore:
Timestamp:
Dec 5, 2008 8:21:14 AM (16 years ago)
Author:
vboxsync
Message:

Wrong casts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/VBoxRecompiler.c

    r14755 r15012  
    24022402
    24032403    pCtx->gdtr.cbGdt    = pVM->rem.s.Env.gdt.limit;
    2404     if (pCtx->gdtr.pGdt != (uint32_t)pVM->rem.s.Env.gdt.base)
    2405     {
    2406         pCtx->gdtr.pGdt     = (uint32_t)pVM->rem.s.Env.gdt.base;
     2404    if (pCtx->gdtr.pGdt != (RTGCPTR)pVM->rem.s.Env.gdt.base)
     2405    {
     2406        pCtx->gdtr.pGdt     = (RTGCPTR)pVM->rem.s.Env.gdt.base;
    24072407        STAM_COUNTER_INC(&gStatREMGDTChange);
    24082408        VM_FF_SET(pVM, VM_FF_SELM_SYNC_GDT);
     
    24102410
    24112411    pCtx->idtr.cbIdt    = pVM->rem.s.Env.idt.limit;
    2412     if (pCtx->idtr.pIdt != (uint32_t)pVM->rem.s.Env.idt.base)
    2413     {
    2414         pCtx->idtr.pIdt     = (uint32_t)pVM->rem.s.Env.idt.base;
     2412    if (pCtx->idtr.pIdt != (RTGCPTR)pVM->rem.s.Env.idt.base)
     2413    {
     2414        pCtx->idtr.pIdt     = (RTGCPTR)pVM->rem.s.Env.idt.base;
    24152415        STAM_COUNTER_INC(&gStatREMIDTChange);
    24162416        VM_FF_SET(pVM, VM_FF_TRPM_SYNC_IDT);
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