- Timestamp:
- Aug 31, 2021 1:11:10 PM (3 years ago)
- Location:
- trunk/src/VBox/Devices/Security
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Security/DevTpm.cpp
r91005 r91032 688 688 { 689 689 memcpy(pu64, &pThis->abCmdResp[pThis->offCmdResp], cb); 690 pThis->offCmdResp += cb;690 pThis->offCmdResp += (uint32_t)cb; 691 691 } 692 692 else … … 815 815 { 816 816 memcpy(&pThis->abCmdResp[pThis->offCmdResp], &u64, cb); 817 pThis->offCmdResp += cb;817 pThis->offCmdResp += (uint32_t)cb; 818 818 } 819 819 return VINF_SUCCESS; -
trunk/src/VBox/Devices/Security/DrvTpmEmu.cpp
r91005 r91032 1007 1007 break; 1008 1008 default: 1009 Assert LogRelReturn(("DrvTpmEmu#%d Emulated TPM version %d is not correctly handled", pDrvIns->iInstance, pThis->enmTpmVers),1010 VERR_INVALID_STATE);1009 AssertMsgFailedReturn(("DrvTpmEmu#%d Emulated TPM version %d is not correctly handled", pDrvIns->iInstance, pThis->enmTpmVers), 1010 VERR_INVALID_STATE); 1011 1011 } 1012 1012
Note:
See TracChangeset
for help on using the changeset viewer.