Changeset 73097 in vbox for trunk/src/bldprogs/VBoxPeSetVersion.cpp
- Timestamp:
- Jul 12, 2018 9:06:33 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bldprogs/VBoxPeSetVersion.cpp
r70802 r73097 191 191 192 192 unsigned long offShdrs = offNtHdrs 193 + RT_UOFFSETOF (IMAGE_NT_HEADERS32,194 OptionalHeader.DataDirectory[NtHdrsNew.x32.OptionalHeader.NumberOfRvaAndSizes]);193 + RT_UOFFSETOF_DYN(IMAGE_NT_HEADERS32, 194 OptionalHeader.DataDirectory[NtHdrsNew.x32.OptionalHeader.NumberOfRvaAndSizes]); 195 195 if (fseek(pFile, offShdrs, SEEK_SET) != 0) 196 196 return Error("Failed to seek to section headers at %#lx: %s", offShdrs, strerror(errno));
Note:
See TracChangeset
for help on using the changeset viewer.