- Timestamp:
- Sep 25, 2024 8:50:51 AM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/InstallHelper/VBoxGuestInstallHelper.cpp
r106061 r106147 393 393 VBOXTRAY_IPC_HDR_VERSION, 394 394 VBOXTRAYIPCMSGTYPE_SHOW_BALLOON_MSG, 395 cbPayload395 (uint32_t)cbPayload 396 396 }; 397 397 … … 399 399 * Convert the parametes and put them into the payload structure. 400 400 */ 401 pPayload->cchMsg = cchMsg;402 pPayload->cchTitle = cchTitle;401 pPayload->cchMsg = (uint32_t)cchMsg; 402 pPayload->cchTitle = (uint32_t)cchTitle; 403 403 char *psz = &pPayload->szzStrings[0]; 404 404 int rc = RTUtf16ToUtf8Ex(pMsgEntry->text, RTSTR_MAX, &psz, cchMsg + 1, NULL); … … 549 549 if (RT_SUCCESS(rc)) 550 550 { 551 WriteFile(hFile, pszUtf8, strlen(pszUtf8), &dwIgn, NULL);551 WriteFile(hFile, pszUtf8, (DWORD)strlen(pszUtf8), &dwIgn, NULL); 552 552 if (fNeedsNewline) 553 553 WriteFile(hFile, RT_STR_TUPLE("\r\n"), &dwIgn, NULL);
Note:
See TracChangeset
for help on using the changeset viewer.