History

Merged in release_mgmt (pull request #14)

Making repo public * Add licensing details for limbo directory Create readme.md for disvm-exec project Fix code analysis violations/warnings * Update version to 'beta' - public release

Aaron R Robinson committed 9 years ago

Commit 68d4d691 parent 887c99f8 files · +75 −9Browse files

Showing the changes to src/vm/utf8.cpp (1 of 8 files). Show all

Unified · Split

src/vm/utf8.cpp+1−1
@@ -95,7 +95,7 @@ std::size_t disvm::runtime::utf8::decode(const uint8_t *str, rune_t &codepoint) · 94 unmodified lines
95 curr++;95 curr++;
96 state = utf8::decode_step(state, codepoint, c);96 state = utf8::decode_step(state, codepoint, c);
97 if (state == utf8::decode_state_t::accept)97 if (state == utf8::decode_state_t::accept)
98 return (curr - begin);98 return static_cast<std::size_t>(curr - begin);
99 }99 }
100 100
101 // Empty string101 // Empty string