Changeset 100173 in vbox
- Timestamp:
- Jun 14, 2023 7:50:37 AM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevQemuFwCfg.cpp
r99945 r100173 711 711 712 712 /* The entries are static, so we can deduce the entry number from the offset. */ 713 uint32_t idxEntry = off / sizeof( *pThis->paCfgFiles);713 uint32_t idxEntry = off / sizeof(pThis->u.CfgFile); 714 714 AssertReturn(idxEntry < pThis->cCfgFiles, VERR_INTERNAL_ERROR); 715 715 716 off %= sizeof( *pThis->paCfgFiles);716 off %= sizeof(pThis->u.CfgFile); 717 717 cbToRead = RT_MIN(cbToRead, sizeof(pThis->u.CfgFile)); 718 718
Note:
See TracChangeset
for help on using the changeset viewer.