about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/tile/value-stack.mu2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/tile/value-stack.mu b/apps/tile/value-stack.mu
index b3269506..a3d05322 100644
--- a/apps/tile/value-stack.mu
+++ b/apps/tile/value-stack.mu
@@ -32,6 +32,8 @@ fn push-int-to-value-stack _self: (addr value-stack), _val: int {
 #?   print-int32-hex-to-real-screen val
   copy-to *dest-addr2, val
   increment *top-addr
+  dest-addr2 <- get dest-addr, type
+  copy-to *dest-addr2, 0  # int
 }
 
 fn push-string-to-value-stack _self: (addr value-stack), val: (handle array byte) {