VirtualBox

Changeset 15014 in vbox


Ignore:
Timestamp:
Dec 5, 2008 8:43:21 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
40386
Message:

Fixed wrong casts here as well.

File:
1 edited

Legend:

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

    r15009 r15014  
    23352335
    23362336    pCtx->gdtr.cbGdt    = pVM->rem.s.Env.gdt.limit;
    2337     if (pCtx->gdtr.pGdt != (uint32_t)pVM->rem.s.Env.gdt.base)
    2338     {
    2339         pCtx->gdtr.pGdt     = (uint32_t)pVM->rem.s.Env.gdt.base;
     2337    if (pCtx->gdtr.pGdt != (RTGCPTR)pVM->rem.s.Env.gdt.base)
     2338    {
     2339        pCtx->gdtr.pGdt     = (RTGCPTR)pVM->rem.s.Env.gdt.base;
    23402340        STAM_COUNTER_INC(&gStatREMGDTChange);
    23412341        VM_FF_SET(pVM, VM_FF_SELM_SYNC_GDT);
     
    23432343
    23442344    pCtx->idtr.cbIdt    = pVM->rem.s.Env.idt.limit;
    2345     if (pCtx->idtr.pIdt != (uint32_t)pVM->rem.s.Env.idt.base)
    2346     {
    2347         pCtx->idtr.pIdt     = (uint32_t)pVM->rem.s.Env.idt.base;
     2345    if (pCtx->idtr.pIdt != (RTGCPTR)pVM->rem.s.Env.idt.base)
     2346    {
     2347        pCtx->idtr.pIdt     = (RTGCPTR)pVM->rem.s.Env.idt.base;
    23482348        STAM_COUNTER_INC(&gStatREMIDTChange);
    23492349        VM_FF_SET(pVM, VM_FF_TRPM_SYNC_IDT);
Note: See TracChangeset for help on using the changeset viewer.

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