Changeset 84154 in vbox for trunk/src/VBox/Additions
- Timestamp:
- May 6, 2020 6:28:29 AM (5 years ago)
- Location:
- trunk/src/VBox/Additions/common/VBoxService
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlProcess.cpp
r84150 r84154 93 93 pStartupInfo->psz##a_Str = RTStrAlloc(a_cb); \ 94 94 AssertPtrBreak(pStartupInfo->psz##a_Str); \ 95 pStartupInfo->cb##a_Str = a_cb; \95 pStartupInfo->cb##a_Str = (uint32_t)a_cb; \ 96 96 } 97 97 … … 194 194 pStartupInfoDup->psz##a_Str = (char *)RTStrDup(pStartupInfo->psz##a_Str); \ 195 195 AssertPtrBreak(pStartupInfoDup->psz##a_Str); \ 196 pStartupInfoDup->cb##a_Str = strlen(pStartupInfoDup->psz##a_Str) + 1 /* Include terminator */; \196 pStartupInfoDup->cb##a_Str = (uint32_t)strlen(pStartupInfoDup->psz##a_Str) + 1 /* Include terminator */; \ 197 197 } 198 198 … … 202 202 pStartupInfoDup->psz##a_Str = (char *)RTMemDup(pStartupInfo->psz##a_Str, pStartupInfo->cb##a_Str); \ 203 203 AssertPtrBreak(pStartupInfoDup->psz##a_Str); \ 204 pStartupInfoDup->cb##a_Str = pStartupInfo->cb##a_Str; \204 pStartupInfoDup->cb##a_Str = (uint32_t)pStartupInfo->cb##a_Str; \ 205 205 } 206 206 -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlSession.cpp
r84150 r84154 1055 1055 pStartupInfo->psz##a_Str = RTStrAlloc(a_cb); \ 1056 1056 AssertPtrBreak(pStartupInfo->psz##a_Str); \ 1057 pStartupInfo->cb##a_Str = a_cb; \1057 pStartupInfo->cb##a_Str = (uint32_t)a_cb; \ 1058 1058 } 1059 1059
Note:
See TracChangeset
for help on using the changeset viewer.