2017-03-26 | Paul Boddie | raw files shortlog changelog graph | Adjusted the type for the conversion to integer of the size argument. | |
templates/native/tuple.c (file) |
1.1 --- a/templates/native/tuple.c Sun Mar 26 01:48:17 2017 +0100 1.2 +++ b/templates/native/tuple.c Sun Mar 26 01:48:51 2017 +0100 1.3 @@ -32,7 +32,7 @@ 1.4 __attr __fn_native_tuple_tuple_init(__attr __self, __attr size) 1.5 { 1.6 /* size interpreted as int */ 1.7 - unsigned int n = __TOINT(size); 1.8 + int n = __TOINT(size); 1.9 1.10 /* Return the __data__ attribute. */ 1.11 if (n) return (__attr) {.seqvalue=__new_fragment(n)};