Fix string.format for long integers.

This commit is contained in:
Enyby
2018-12-24 11:45:06 +02:00
committed by GitHub
parent c9ba2d4bb1
commit 63ead7aac7

View File

@@ -261,7 +261,7 @@ public class StringLib extends TwoArgFunction {
break;
case 'i':
case 'd':
fdsc.format( result, args.checkint( arg ) );
fdsc.format( result, args.checklong( arg ) );
break;
case 'o':
case 'u':