VirtualBox

Changeset 77126 in vbox


Ignore:
Timestamp:
Feb 1, 2019 4:10:27 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
128584
Message:

VMMDevHGCM.cpp,GVMMR0.cpp: Change AssertCompile() statement to pass compilation when using recent clang

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VMMDev/VMMDevHGCM.cpp

    r77056 r77126  
    23852385    }
    23862386
    2387     AssertCompile((uintptr_t)NIL_RTMEMCACHE == 0);
     2387    AssertCompile(NIL_RTMEMCACHE == (RTMEMCACHE)0);
    23882388    if (pThis->hHgcmCmdCache != NIL_RTMEMCACHE)
    23892389    {
  • trunk/src/VBox/VMM/VMMR0/GVMMR0.cpp

    r76553 r77126  
    12641264#endif
    12651265
    1266     AssertCompile((uintptr_t)NIL_RTTHREADCTXHOOK == 0); /* Depends on zero initialized memory working for NIL at the moment. */
     1266    AssertCompile(NIL_RTTHREADCTXHOOK == (RTTHREADCTXHOOK)0); /* Depends on zero initialized memory working for NIL at the moment. */
    12671267    for (VMCPUID idCpu = 0; idCpu < pGVM->cCpus; idCpu++)
    12681268    {
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