Changeset 45927 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- May 7, 2013 8:05:43 AM (12 years ago)
- Location:
- trunk/src/VBox/Main/src-client
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r45890 r45927 4944 4944 parms[0].type = VBOX_HGCM_SVC_PARM_PTR; 4945 4945 parms[0].u.pointer.addr = (void *)pszName; 4946 parms[0].u.pointer.size = strlen(pszName) + 1;4946 parms[0].u.pointer.size = (uint32_t)strlen(pszName) + 1; 4947 4947 parms[1].type = VBOX_HGCM_SVC_PARM_PTR; 4948 4948 parms[1].u.pointer.addr = (void *)pszValue; 4949 parms[1].u.pointer.size = strlen(pszValue) + 1;4949 parms[1].u.pointer.size = (uint32_t)strlen(pszValue) + 1; 4950 4950 parms[2].type = VBOX_HGCM_SVC_PARM_PTR; 4951 4951 parms[2].u.pointer.addr = (void *)pszFlags; 4952 parms[2].u.pointer.size = strlen(pszFlags) + 1;4952 parms[2].u.pointer.size = (uint32_t)strlen(pszFlags) + 1; 4953 4953 pVMMDev->hgcmHostCall("VBoxGuestPropSvc", guestProp::SET_PROP_HOST, 3, 4954 4954 &parms[0]); -
trunk/src/VBox/Main/src-client/GuestProcessImpl.cpp
r45805 r45927 1056 1056 (ULONG)mData.mProcess.mCommand.length() + 1); 1057 1057 paParms[i++].setUInt32(mData.mProcess.mFlags); 1058 paParms[i++].setUInt32( mData.mProcess.mArguments.size());1059 paParms[i++].setPointer((void*)pszArgs, cbArgs);1060 paParms[i++].setUInt32( mData.mProcess.mEnvironment.Size());1061 paParms[i++].setUInt32( cbEnv);1062 paParms[i++].setPointer((void*)pvEnv, cbEnv);1058 paParms[i++].setUInt32((uint32_t)mData.mProcess.mArguments.size()); 1059 paParms[i++].setPointer((void*)pszArgs, (uint32_t)cbArgs); 1060 paParms[i++].setUInt32((uint32_t)mData.mProcess.mEnvironment.Size()); 1061 paParms[i++].setUInt32((uint32_t)cbEnv); 1062 paParms[i++].setPointer((void*)pvEnv, (uint32_t)cbEnv); 1063 1063 if (uProtocol < 2) 1064 1064 { … … 1588 1588 paParms[i++].setUInt32(mData.mPID); 1589 1589 paParms[i++].setUInt32(uFlags); 1590 paParms[i++].setPointer(pvData, cbData);1591 paParms[i++].setUInt32( cbData);1590 paParms[i++].setPointer(pvData, (uint32_t)cbData); 1591 paParms[i++].setUInt32((uint32_t)cbData); 1592 1592 1593 1593 alock.release(); /* Drop the write lock before sending. */ -
trunk/src/VBox/Main/src-client/Nvram.cpp
r45029 r45927 287 287 int rc = CFGMR3QueryString(pVarNode, "Name", pszName, *pcchName); 288 288 AssertRCReturn(rc, rc); 289 *pcchName = strlen(pszName);289 *pcchName = (uint32_t)strlen(pszName); 290 290 291 291 char szUuid[RTUUID_STR_LENGTH]; … … 304 304 rc = CFGMR3QueryBytes(pVarNode, "Value", pbValue, cbValue); 305 305 AssertRCReturn(rc, rc); 306 *pcbValue = cbValue;306 *pcbValue = (uint32_t)cbValue; 307 307 308 308 return VINF_SUCCESS; -
trunk/src/VBox/Main/src-client/UsbCardReader.cpp
r45033 r45927 1054 1054 { 1055 1055 pszReaderName = pRsp->szReader; 1056 cchReaderName = strlen(pRsp->szReader) + 1;1056 cchReaderName = (uint32_t)strlen(pRsp->szReader) + 1; 1057 1057 u32CardState = pRsp->u32State; 1058 1058 u32Protocol = pRsp->u32Protocol;
Note:
See TracChangeset
for help on using the changeset viewer.