VirtualBox

Changeset 63753 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Sep 7, 2016 4:21:09 PM (8 years ago)
Author:
vboxsync
Message:

VMM: gcc 6.2 warning fix.

Location:
trunk/src/VBox/VMM/VMMR3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/DBGFR3Trace.cpp

    r62478 r63753  
    123123    rc = RTTraceBufCarve(&hTraceBuf, cEntries, cbEntry, 0 /*fFlags*/, pvBlock, &cbBlock);
    124124    AssertRCReturn(rc, rc);
    125     AssertRelease(hTraceBuf == (RTTRACEBUF)pvBlock && (void *)hTraceBuf == pvBlock);
     125    AssertRelease(hTraceBuf == (RTTRACEBUF)pvBlock);
     126    AssertRelease((void *)hTraceBuf == pvBlock);
    126127
    127128    pVM->hTraceBufR3 = hTraceBuf;
  • trunk/src/VBox/VMM/VMMR3/PGMShw.h

    r62478 r63753  
    134134PGM_SHW_DECL(int, InitData)(PVM pVM, PPGMMODEDATA pModeData, bool fResolveGCAndR0)
    135135{
     136#if PGM_SHW_TYPE != PGM_TYPE_NESTED
    136137    Assert(pModeData->uShwType == PGM_SHW_TYPE || pModeData->uShwType == PGM_TYPE_NESTED);
     138#else
     139    Assert(pModeData->uShwType == PGM_SHW_TYPE);
     140#endif
    137141
    138142    /* Ring-3 */
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