Changeset 41661 in vbox for trunk/src/VBox/Disassembler
- Timestamp:
- Jun 12, 2012 8:26:37 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Disassembler/DisasmCore.cpp
r41658 r41661 2592 2592 { 2593 2593 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; 2599 2599 memcpy(&pCpu->abInstr[cbInstr], pbSrc, cbToCopy); 2600 2600 pCpu->opsize = sizeof(pCpu->abInstr);
Note:
See TracChangeset
for help on using the changeset viewer.