diff options
Diffstat (limited to 'compiler/compiled_method.h')
-rw-r--r-- | compiler/compiled_method.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/compiled_method.h b/compiler/compiled_method.h index cdae8d2d24..0361cd18cc 100644 --- a/compiler/compiled_method.h +++ b/compiler/compiled_method.h @@ -162,7 +162,7 @@ class SrcMap FINAL : public std::vector<SrcMapElem> { } this->resize(i + 1); - for (size_t i = size(); --i >= 1; ) { + for (i = size(); --i >= 1; ) { (*this)[i].from_ -= (*this)[i-1].from_; (*this)[i].to_ -= (*this)[i-1].to_; } |