VirtualBox

Changeset 91032 in vbox for trunk


Ignore:
Timestamp:
Aug 31, 2021 1:11:10 PM (3 years ago)
Author:
vboxsync
Message:

Security: Windows build fixes, bugref:10075

Location:
trunk/src/VBox/Devices/Security
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Security/DevTpm.cpp

    r91005 r91032  
    688688        {
    689689            memcpy(pu64, &pThis->abCmdResp[pThis->offCmdResp], cb);
    690             pThis->offCmdResp += cb;
     690            pThis->offCmdResp += (uint32_t)cb;
    691691        }
    692692        else
     
    815815        {
    816816            memcpy(&pThis->abCmdResp[pThis->offCmdResp], &u64, cb);
    817             pThis->offCmdResp += cb;
     817            pThis->offCmdResp += (uint32_t)cb;
    818818        }
    819819        return VINF_SUCCESS;
  • trunk/src/VBox/Devices/Security/DrvTpmEmu.cpp

    r91005 r91032  
    10071007            break;
    10081008        default:
    1009             AssertLogRelReturn(("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);
    10111011    }
    10121012
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