We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23e1cd7 commit ab27af4Copy full SHA for ab27af4
library.properties
@@ -1,5 +1,5 @@
1
name=StringUtils
2
-version=1.4.26
+version=1.4.27
3
author=AlexGyver <alex@alexgyver.ru>
4
maintainer=AlexGyver <alex@alexgyver.ru>
5
sentence=Bunch of converting functions for string data
src/utils/Text.h
@@ -614,7 +614,7 @@ class Text : public Printable {
614
char charAt(int idx) const {
615
if (idx < 0) idx += length();
616
if (idx < 0) return 0;
617
- return (valid() && idx < _len) ? _charAt(idx) : 0;
+ return (valid() && (uint16_t)idx < _len) ? _charAt(idx) : 0;
618
}
619
620
// Получить символ по индексу. Допускаются отрицательные
0 commit comments