VirtualBox

儲存庫 vbox 的更動 18488


忽略:
時間撮記:
2009-3-29 上午01:36:47 (16 年 以前)
作者:
vboxsync
訊息:

svchlp.cpp: Two size_t/DWORD warnings.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Main/win/svchlp.cpp

    r17905 r18488  
    168168
    169169    DWORD written = 0;
    170     BOOL ok = WriteFile (mWriteEnd, aVal, aLen, &written, NULL);
     170    BOOL ok = WriteFile (mWriteEnd, aVal, (ULONG)aLen, &written, NULL);
    171171    AssertReturn (!ok || written == aLen, VERR_GENERAL_FAILURE);
    172172    return ok ? VINF_SUCCESS : rtErrConvertFromWin32OnFailure();
     
    210210
    211211    DWORD read = 0;
    212     BOOL ok = ReadFile (mReadEnd, aVal, aLen, &read, NULL);
     212    BOOL ok = ReadFile (mReadEnd, aVal, (ULONG)aLen, &read, NULL);
    213213    AssertReturn (!ok || read == aLen, VERR_GENERAL_FAILURE);
    214214    return ok ? VINF_SUCCESS : rtErrConvertFromWin32OnFailure();
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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