about summary refs log tree commit diff stats
path: root/apps/factorial4.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-11-30 11:14:49 -0800
committerKartik Agaram <vc@akkartik.com>2019-11-30 11:14:49 -0800
commit931b17daa048abbe837fa575e296b08b3d99315b (patch)
tree09d6a7342efaac4305dac601aae518f6f18f4095 /apps/factorial4.subx
parent1d4e6a76efedb756bb4a86ef067593b2b061f594 (diff)
downloadmu-931b17daa048abbe837fa575e296b08b3d99315b.tar.gz
5782 - fix a widespread bug with Heap-size
Diffstat (limited to 'apps/factorial4.subx')
-rw-r--r--apps/factorial4.subx2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/factorial4.subx b/apps/factorial4.subx
index 2ba23ba7..2752dfd0 100644
--- a/apps/factorial4.subx
+++ b/apps/factorial4.subx
@@ -25,7 +25,7 @@ Entry:  # run tests if necessary, compute `factorial(5)` if not
     89/<- %ebp 4/r32/esp
 
     # initialize heap
-    (new-segment Heap-size Heap)
+    (new-segment *Heap-size Heap)
 
     # - if argc > 1, then return run_tests()
     {