diff --git a/include/stdex/parser.hpp b/include/stdex/parser.hpp index 4caffa9d6..3ecef8868 100644 --- a/include/stdex/parser.hpp +++ b/include/stdex/parser.hpp @@ -6090,7 +6090,7 @@ namespace stdex for (;;) { if (this->interval.end < end && text[this->interval.end]) { if ('0' <= text[this->interval.end] && text[this->interval.end] <= '9') { - size_t _value = static_cast(value) * 10 + text[this->interval.end] - '0'; + size_t _value = static_cast(value) * 10 + static_cast(text[this->interval.end] - '0'); if (_value > UINT16_MAX) { value = 0; this->interval.invalidate(); @@ -6472,7 +6472,7 @@ namespace stdex for (;;) { if (this->interval.end < end && text[this->interval.end]) { if ('0' <= text[this->interval.end] && text[this->interval.end] <= '9') { - celi_del = celi_del * 10 + text[this->interval.end] - '0'; + celi_del = celi_del * 10 + static_cast(text[this->interval.end] - '0'); this->interval.end++; } else if (text[this->interval.end] == '.') { @@ -6480,7 +6480,7 @@ namespace stdex for (;;) { if (this->interval.end < end && text[this->interval.end]) { if ('0' <= text[this->interval.end] && text[this->interval.end] <= '9') { - decimalni_del = decimalni_del * 10 + text[this->interval.end] - '0'; + decimalni_del = decimalni_del * 10 + static_cast(text[this->interval.end] - '0'); decimalni_del_n *= 10; this->interval.end++; }