1.1 --- a/templates/native/unicode.c Tue Aug 29 18:37:11 2023 +0200
1.2 +++ b/templates/native/unicode.c Tue Aug 29 19:30:28 2023 +0200
1.3 @@ -74,7 +74,7 @@
1.4 /* _data interpreted as string.__data__ */
1.5 char *s = _data.strvalue;
1.6 /* _size interpreted as size */
1.7 - __int size = _size.sizevalue;
1.8 + __int size = __TOINT(_size);
1.9 __int i, c = 0;
1.10
1.11 for (i = 0; i < size; i++)
1.12 @@ -90,7 +90,7 @@
1.13 /* _data interpreted as string.__data__ */
1.14 char *s = _data.strvalue;
1.15 /* _size interpreted as size */
1.16 - __int size = _size.sizevalue;
1.17 + __int size = __TOINT(_size);
1.18 __int i, c = 0, v;
1.19
1.20 for (i = 0; i < size; i++)
1.21 @@ -124,7 +124,7 @@
1.22 /* _data interpreted as string.__data__ */
1.23 char *s = _data.strvalue, *sub;
1.24 /* _size interpreted as size */
1.25 - __int ss = _size.sizevalue;
1.26 + __int ss = __TOINT(_size);
1.27 /* start interpreted as int */
1.28 __int istart = __TOINT(start);
1.29 /* end interpreted as int */