1.1 --- a/templates/native/unicode.c Tue Nov 02 00:04:48 2021 +0100
1.2 +++ b/templates/native/unicode.c Thu Nov 04 23:21:09 2021 +0100
1.3 @@ -73,8 +73,8 @@
1.4 {
1.5 /* _data interpreted as string.__data__ */
1.6 char *s = _data.strvalue;
1.7 - /* _size interpreted as int */
1.8 - __int size = __TOINT(_size);
1.9 + /* _size interpreted as size */
1.10 + __int size = _size.sizevalue;
1.11 __int i, c = 0;
1.12
1.13 for (i = 0; i < size; i++)
1.14 @@ -89,8 +89,8 @@
1.15 {
1.16 /* _data interpreted as string.__data__ */
1.17 char *s = _data.strvalue;
1.18 - /* _size interpreted as int */
1.19 - __int size = __TOINT(_size);
1.20 + /* _size interpreted as size */
1.21 + __int size = _size.sizevalue;
1.22 __int i, c = 0, v;
1.23
1.24 for (i = 0; i < size; i++)
1.25 @@ -123,8 +123,8 @@
1.26 {
1.27 /* _data interpreted as string.__data__ */
1.28 char *s = _data.strvalue, *sub;
1.29 - /* _size interpreted as int */
1.30 - __int ss = __TOINT(_size);
1.31 + /* _size interpreted as size */
1.32 + __int ss = _size.sizevalue;
1.33 /* start interpreted as int */
1.34 __int istart = __TOINT(start);
1.35 /* end interpreted as int */