aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/coff_file_reader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/src/coff_file_reader.cpp')
-rw-r--r--toolsrc/src/coff_file_reader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/coff_file_reader.cpp b/toolsrc/src/coff_file_reader.cpp
index db8524faa..c6bfc33d2 100644
--- a/toolsrc/src/coff_file_reader.cpp
+++ b/toolsrc/src/coff_file_reader.cpp
@@ -195,8 +195,8 @@ namespace vcpkg { namespace COFFFileReader
{
static const size_t ALIGNMENT_SIZE = 2;
- const fpos_t new_offset = align_to(member_size, ALIGNMENT_SIZE);
- fs.seekg(new_offset, ios_base::cur);
+ const fpos_t advance_by = align_to(member_size, ALIGNMENT_SIZE);
+ fs.seekg(advance_by, ios_base::cur);
}
static void read_and_verify_archive_file_signature(fstream& fs)