templates/native/int.c | raw changeset files shortlog |
1.1 --- a/templates/native/int.c Mon Dec 12 00:33:33 2016 +0100 1.2 +++ b/templates/native/int.c Mon Dec 12 00:37:28 2016 +0100 1.3 @@ -268,7 +268,7 @@ 1.4 snprintf(s, n, "%d", i); 1.5 1.6 /* Return a new string. */ 1.7 - return __new_str(s); 1.8 + return __new_str(s, n); 1.9 } 1.10 1.11 /* Module initialisation. */