Changeset 3097 in vbox for trunk/src/VBox/Additions/common
- Timestamp:
- Jun 12, 2007 11:00:37 AM (18 years ago)
- Location:
- trunk/src/VBox/Additions/common/VBoxGuestLib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/GenericRequest.cpp
r2981 r3097 28 28 DECLVBGL(int) VbglGRAlloc (VMMDevRequestHeader **ppReq, uint32_t cbSize, VMMDevRequestType reqType) 29 29 { 30 VMMDevRequestHeader *pReq; 30 31 int rc = VbglEnter (); 31 32 … … 39 40 } 40 41 41 VMMDevRequestHeader *pReq = (VMMDevRequestHeader *)VbglPhysHeapAlloc (cbSize);42 pReq = (VMMDevRequestHeader *)VbglPhysHeapAlloc (cbSize); 42 43 if (!pReq) 43 44 { -
trunk/src/VBox/Additions/common/VBoxGuestLib/HGCMInternal.cpp
r3090 r3097 158 158 if (cbParms) 159 159 { 160 HGCMFunctionParameter *pParm; 161 160 162 memcpy (VMMDEV_HGCM_CALL_PARMS(pHGCMCall), VBOXGUEST_HGCM_CALL_PARMS(pCallInfo), cbParms); 161 163 … … 167 169 } 168 170 169 HGCMFunctionParameter *pParm = VBOXGUEST_HGCM_CALL_PARMS(pCallInfo); 170 171 pParm = VBOXGUEST_HGCM_CALL_PARMS(pCallInfo); 171 172 unsigned iParm = 0; 172 173 for (; iParm < pCallInfo->cParms; iParm++, pParm++)
Note:
See TracChangeset
for help on using the changeset viewer.