Changeset 62790 in vbox for trunk/src/VBox
- Timestamp:
- Aug 1, 2016 7:05:40 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 109377
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedFolders/vbsfpath.cpp
r62489 r62790 529 529 * If guest uses UTF-16 then convert it to UTF-8. 530 530 */ 531 uint32_t cbGuestPath ;532 const char *pchGuestPath ;531 uint32_t cbGuestPath = 0; /* Shut up MSC */ 532 const char *pchGuestPath = NULL; /* Ditto. */ 533 533 char *pchGuestPathAllocated = NULL; /* Converted from UTF-16. */ 534 534 if (BIT_FLAG(pClient->fu32Flags, SHFL_CF_UTF8)) … … 579 579 pchGuestPathAllocated[cbPathAsUtf8] = '\0'; 580 580 581 cbGuestPath = cbPathAsUtf8;581 cbGuestPath = (uint32_t)cbPathAsUtf8; Assert(cbGuestPath == cbPathAsUtf8); 582 582 pchGuestPath = pchGuestPathAllocated; 583 583 }
Note:
See TracChangeset
for help on using the changeset viewer.