1.1 --- a/templates/native/common.c Tue Jun 29 23:57:03 2021 +0200
1.2 +++ b/templates/native/common.c Mon Nov 01 23:29:28 2021 +0100
1.3 @@ -26,7 +26,7 @@
1.4
1.5 /* Utility functions. */
1.6
1.7 -__attr __new_str(char *s, int size)
1.8 +__attr __new_str(char *s, __int size)
1.9 {
1.10 /* Create a new string and mutate the __data__, __size__ and __key__ attributes. */
1.11 __attr attr = __NEWINSTANCE(__builtins___str_str);
1.12 @@ -55,8 +55,8 @@
1.13 __fragment *__fragment_append(__fragment *data, __attr value)
1.14 {
1.15 __fragment *newdata = data;
1.16 - unsigned int size = data->size, capacity = data->capacity;
1.17 - unsigned int n;
1.18 + __int size = data->size, capacity = data->capacity;
1.19 + __int n;
1.20
1.21 /* Re-allocate the fragment if the capacity has been reached. */
1.22 if (size >= capacity)