Changeset 73097 in vbox for trunk/src/VBox/Runtime/common/dvm
- Timestamp:
- Jul 12, 2018 9:06:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/dvm/dvmvfs.cpp
r69977 r73097 472 472 { /* ObjSet */ 473 473 RTVFSOBJSETOPS_VERSION, 474 RT_ OFFSETOF(RTVFSFILEOPS, Stream.Obj) - RT_OFFSETOF(RTVFSFILEOPS, ObjSet),474 RT_UOFFSETOF(RTVFSFILEOPS, ObjSet) - RT_UOFFSETOF(RTVFSFILEOPS, Stream.Obj), 475 475 rtDvmVfsFile_SetMode, 476 476 rtDvmVfsFile_SetTimes, … … 921 921 922 922 size_t cchVolName = strlen(pszVolName); 923 size_t cbNeeded = RT_ OFFSETOF(RTDIRENTRYEX, szName[cchVolName + 1]);923 size_t cbNeeded = RT_UOFFSETOF_DYN(RTDIRENTRYEX, szName[cchVolName + 1]); 924 924 if (cbNeeded <= *pcbDirEntry) 925 925 { … … 982 982 { /* ObjSet */ 983 983 RTVFSOBJSETOPS_VERSION, 984 RT_ OFFSETOF(RTVFSDIROPS, Obj) - RT_OFFSETOF(RTVFSDIROPS, ObjSet),984 RT_UOFFSETOF(RTVFSDIROPS, ObjSet) - RT_UOFFSETOF(RTVFSDIROPS, Obj), 985 985 rtDvmVfsDir_SetMode, 986 986 rtDvmVfsDir_SetTimes,
Note:
See TracChangeset
for help on using the changeset viewer.