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
9595 curr++;
9696 state = utf8::decode_step(state, codepoint, c);
9797 if (state == utf8::decode_state_t::accept)
98− return (curr - begin);
98+ return static_cast<std::size_t>(curr - begin);
9999 }
100100
101101 // Empty string