VirtualBox

Changeset 40934 in vbox for trunk/src/VBox/Runtime/r0drv


Ignore:
Timestamp:
Apr 16, 2012 5:53:05 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
77485
Message:

Runtime: linux 3.4-rc3 build fix [-fpermissive]

Location:
trunk/src/VBox/Runtime/r0drv
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/alloc-r0drv.cpp

    r37672 r40934  
    8585    int rc = rtR0MemAllocEx(cb, fFlags, &pHdr);
    8686    if (RT_FAILURE(rc))
    87         return NULL;
     87        return (PRTMEMHDR)NULL;
    8888    return pHdr;
    8989}
  • trunk/src/VBox/Runtime/r0drv/memobj-r0drv.cpp

    r36555 r40934  
    338338        {
    339339            PRTR0MEMOBJINTERNAL pChild = pMem->uRel.Parent.papMappings[--pMem->uRel.Parent.cMappings];
    340             pMem->uRel.Parent.papMappings[pMem->uRel.Parent.cMappings] = NULL;
     340            pMem->uRel.Parent.papMappings[pMem->uRel.Parent.cMappings] = (PRTR0MEMOBJINTERNAL)NULL;
    341341
    342342            /* sanity checks. */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette