Changeset 107089 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Nov 21, 2024 3:40:31 PM (8 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibHGCMInternal.cpp
r107079 r107089 437 437 { 438 438 size_t const cPages = RTR0MemObjSize(hObj) >> PAGE_SHIFT; 439 *pcbExtra += RT_UOFFSETOF_DYN(HGCMPageListInfo, aPages) +440 RT_SIZEOFMEMB(HGCMPageListInfo, aPages) * cPages;439 *pcbExtra += RT_UOFFSETOF_DYN(HGCMPageListInfo, aPages) 440 + RT_SIZEOFMEMB(HGCMPageListInfo, aPages) * cPages; 441 441 } 442 442 } … … 647 647 } 648 648 649 offExtra += RT_UOFFSETOF_DYN(HGCMPageListInfo, aPages) +650 RT_SIZEOFMEMB(HGCMPageListInfo, aPages) * cPages;649 offExtra += (uint32_t)(RT_UOFFSETOF_DYN(HGCMPageListInfo, aPages) 650 + RT_SIZEOFMEMB(HGCMPageListInfo, aPages) * cPages); 651 651 } 652 652 else
Note:
See TracChangeset
for help on using the changeset viewer.