summaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-05-08 17:00:35 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2020-05-08 17:00:35 -0400
commit6886389e7c55b382545026b668dd400949edf337 (patch)
tree91c110711fe9217535e42b4f893b5a2dba91f451 /std
parent270ce8372aeddaa3f10362f88473ceb1159b9b5f (diff)
oops fixed putf
Diffstat (limited to 'std')
-rw-r--r--std/io.toc2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/io.toc b/std/io.toc
index 4eaf113..71ff009 100644
--- a/std/io.toc
+++ b/std/io.toc
@@ -53,7 +53,7 @@ puti ::= fn(x: int) {
writef ::= fn(x: float) {
fmt := "%f\0";
- printf(&fmt[0], x);
+ printf(&fmt[0], x as f64);
}
putf ::= fn(x: float) {
writef(x);