1.1 --- a/templates/native/common.c Sat Nov 06 01:05:42 2021 +0100
1.2 +++ b/templates/native/common.c Sat Nov 06 17:06:01 2021 +0100
1.3 @@ -31,7 +31,7 @@
1.4 /* Create a new int and set the trailing data. */
1.5 __attr attr = __NEWINSTANCEIM(__builtins___int_int);
1.6 __set_trailing_data(attr, __builtins___int_int, n);
1.7 - return attr;
1.8 + return __TO_MUTABLE(attr);
1.9 }
1.10
1.11 __attr __new_str(char *s, __int size)
1.12 @@ -57,7 +57,7 @@
1.13 /* Create a new float and set the trailing data. */
1.14 __attr attr = __NEWINSTANCEIM(__builtins___float_float);
1.15 __set_trailing_data(attr, __builtins___float_float, n);
1.16 - return attr;
1.17 + return __TO_MUTABLE(attr);
1.18 }
1.19
1.20 __fragment *__fragment_append(__fragment *data, __attr value)