VirtualBox

儲存庫 vbox 的更動 62790


忽略:
時間撮記:
2016-8-1 上午07:05:40 (8 年 以前)
作者:
vboxsync
訊息:

HostServices: warnings

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/HostServices/SharedFolders/vbsfpath.cpp

    r62489 r62790  
    529529     * If guest uses UTF-16 then convert it to UTF-8.
    530530     */
    531     uint32_t    cbGuestPath;
    532     const char *pchGuestPath;
     531    uint32_t    cbGuestPath = 0;        /* Shut up MSC */
     532    const char *pchGuestPath = NULL;    /* Ditto. */
    533533    char *pchGuestPathAllocated = NULL; /* Converted from UTF-16. */
    534534    if (BIT_FLAG(pClient->fu32Flags, SHFL_CF_UTF8))
     
    579579                        pchGuestPathAllocated[cbPathAsUtf8] = '\0';
    580580
    581                         cbGuestPath = cbPathAsUtf8;
     581                        cbGuestPath = (uint32_t)cbPathAsUtf8; Assert(cbGuestPath == cbPathAsUtf8);
    582582                        pchGuestPath = pchGuestPathAllocated;
    583583                    }
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette