Skip to content

Commit a8d802d

Browse files
authored
Buf fix
1 parent 8972020 commit a8d802d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Onion/SourceCode/ast/lib/Functions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ public class ForIntToChar : Function
423423
public Value execute(Value[] args)
424424
{
425425
if (args.Length != 1) throw new Exception("One arg expected");
426-
return new StringValue(args[0].asString());
426+
return new StringValue(((char)args[0].asNumber()).ToString());
427427
}
428428
}
429429

0 commit comments

Comments
 (0)