summaryrefslogtreecommitdiff
path: root/tools/scaninc/asm_file.cpp
diff options
context:
space:
mode:
authorscnorton <scnorton@biociphers.org>2017-10-16 14:12:59 -0400
committerscnorton <scnorton@biociphers.org>2017-10-16 14:12:59 -0400
commita6d2bfaebd16940fc0ac1be3ca29caf0888296ca (patch)
tree7ec979bc8481b2c2d55874aef3e9004ddb715781 /tools/scaninc/asm_file.cpp
parent96ebc5d46287e33df7bda74a6fb340281cdaa4c5 (diff)
parent7d657ef56716fd01bacf4a47df50ad0ec3d03b10 (diff)
Merge branch 'master' into secret_base
Diffstat (limited to 'tools/scaninc/asm_file.cpp')
-rw-r--r--tools/scaninc/asm_file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/scaninc/asm_file.cpp b/tools/scaninc/asm_file.cpp
index c3d140bb1..6322749e2 100644
--- a/tools/scaninc/asm_file.cpp
+++ b/tools/scaninc/asm_file.cpp
@@ -137,7 +137,7 @@ std::string AsmFile::ReadPath()
FATAL_INPUT_ERROR("path is too long");
}
- return std::string(m_buffer, startPos, length);
+ return std::string(m_buffer + startPos, length);
}
void AsmFile::SkipEndOfLineComment()