1.1 --- a/templates/native/int.c Sat Feb 11 15:34:30 2017 +0100
1.2 +++ b/templates/native/int.c Sat Feb 11 16:04:40 2017 +0100
1.3 @@ -1,6 +1,6 @@
1.4 /* Native functions for integer operations.
1.5
1.6 -Copyright (C) 2016 Paul Boddie <paul@boddie.org.uk>
1.7 +Copyright (C) 2016, 2017 Paul Boddie <paul@boddie.org.uk>
1.8
1.9 This program is free software; you can redistribute it and/or modify it under
1.10 the terms of the GNU General Public License as published by the Free Software
1.11 @@ -268,7 +268,7 @@
1.12 snprintf(s, n, "%d", i);
1.13
1.14 /* Return a new string. */
1.15 - return __new_str(s, strlen(s));
1.16 + return __new_str(s);
1.17 }
1.18
1.19 /* Module initialisation. */