summaryrefslogtreecommitdiff
path: root/tools/scaninc/asm_file.cpp
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-10-08 23:54:46 -0400
committerGitHub <noreply@github.com>2017-10-08 23:54:46 -0400
commitb0d49dbbfbfcf39c2a9f88572437b6af77c8f709 (patch)
treebe0dadd4cb3a6c36e27233836a6f104359d49949 /tools/scaninc/asm_file.cpp
parentb21c159b08c57a948edb268ac9b9b5baf6b4332d (diff)
parent3776a9fb4f0531535b0b5879dab7b3b6bd231736 (diff)
Merge branch 'master' into scaninc
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()