vbox的更動 46568 路徑 trunk/src/VBox/Runtime/r3/generic
- 時間撮記:
- 2013-6-14 下午04:22:55 (11 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Runtime/r3/generic/allocex-r3-generic.cpp
r46567 r46568 81 81 else 82 82 cbAligned = RT_ALIGN_Z(cb, sizeof(uint64_t)); 83 AssertMsgReturn(cbAligned >= cb && cbAligned <= ~(size_t)0 / 2U, ("cbAligned=%#zx cb=%#zx", cbAligned, cb),83 AssertMsgReturn(cbAligned >= cb && cbAligned <= ~(size_t)0, ("cbAligned=%#zx cb=%#zx", cbAligned, cb), 84 84 VERR_INVALID_PARAMETER); 85 85 … … 107 107 pHdr->u32Magic = RTMEMHDR_MAGIC; 108 108 pHdr->fFlags = fFlags; 109 pHdr->cb = cbAligned;110 pHdr->cbReq = cb;109 pHdr->cb = (uint32_t)cbAligned; 110 pHdr->cbReq = (uint32_t)cb; 111 111 112 112 *ppv = pHdr + 1;
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器