VirtualBox

Changeset 41661 in vbox for trunk/src/VBox/Disassembler


Ignore:
Timestamp:
Jun 12, 2012 8:26:37 AM (12 years ago)
Author:
vboxsync
Message:

DIS: Windows build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Disassembler/DisasmCore.cpp

    r41658 r41661  
    25922592    {
    25932593        memcpy(&pCpu->abInstr[cbInstr], pbSrc, cbSrc);
    2594         pCpu->opsize = cbInstr + cbSrc;
    2595     }
    2596     else
    2597     {
    2598         uint32_t cbToCopy = sizeof(pCpu->abInstr) - off;
     2594        pCpu->opsize = cbInstr + (uint32_t)cbSrc;
     2595    }
     2596    else
     2597    {
     2598        size_t cbToCopy = sizeof(pCpu->abInstr) - off;
    25992599        memcpy(&pCpu->abInstr[cbInstr], pbSrc, cbToCopy);
    26002600        pCpu->opsize = sizeof(pCpu->abInstr);
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