Fix warning about loss of precission

This commit is contained in:
hvellyr 2016-06-06 14:29:48 +02:00
parent 58b0669e55
commit f764e9a85d

View File

@ -1356,7 +1356,7 @@ private:
inline size_t LiteralString::parse(const char* s, size_t n, SemanticValues& sv, Context& c, any& dt) const { inline size_t LiteralString::parse(const char* s, size_t n, SemanticValues& sv, Context& c, any& dt) const {
c.trace("LiteralString", s, n, sv, dt); c.trace("LiteralString", s, n, sv, dt);
auto i = 0u; size_t i = 0;
for (; i < lit_.size(); i++) { for (; i < lit_.size(); i++) {
if (i >= n || s[i] != lit_[i]) { if (i >= n || s[i] != lit_[i]) {
c.set_error_pos(s); c.set_error_pos(s);