- Timestamp:
- Oct 28, 2018 2:53:12 PM (6 years ago)
- Location:
- trunk/src/VBox/Additions/common/VBoxGuest/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibHGCMInternal.cpp
r73097 r75126 36 36 37 37 #include "VBoxGuestR0LibInternal.h" 38 #include <iprt/alloca.h>39 38 #include <iprt/asm.h> 40 39 #include <iprt/assert.h> … … 537 536 pDstPgLst->flags = pSrcPgLst->flags; 538 537 pDstPgLst->offFirstPage = pSrcPgLst->offFirstPage; 539 pDstPgLst->cPages = cPages;538 pDstPgLst->cPages = (uint16_t)cPages; 540 539 for (iPage = 0; iPage < cPages; iPage++) 541 540 pDstPgLst->aPages[iPage] = pSrcPgLst->aPages[iPage]; … … 584 583 else 585 584 #endif 586 pDstPgLst->offFirstPage = pSrcParm->u.Pointer.u.linearAddr & PAGE_OFFSET_MASK;587 pDstPgLst->cPages = (uint 32_t)cPages; Assert(pDstPgLst->cPages == cPages);585 pDstPgLst->offFirstPage = (uint16_t)(pSrcParm->u.Pointer.u.linearAddr & PAGE_OFFSET_MASK); 586 pDstPgLst->cPages = (uint16_t)cPages; Assert(pDstPgLst->cPages == cPages); 588 587 for (iPage = 0; iPage < cPages; iPage++) 589 588 { -
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibIdc-os2.cpp
r72627 r75126 57 57 return g_VBoxGuestIDC.pfnServiceEP(g_VBoxGuestIDC.u32Session, VBGL_IOCTL_IDC_CONNECT, &pReq->Hdr, sizeof(*pReq)); 58 58 Log(("vbglDriverOpen: failed\n")); 59 RT_NOREF(pHandle); 59 60 return VERR_FILE_NOT_FOUND; 60 61 }
Note:
See TracChangeset
for help on using the changeset viewer.