about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-09-19 21:53:52 -0700
committerKartik Agaram <vc@akkartik.com>2020-09-19 21:53:52 -0700
commit86a124769dcc2e94a452595cc80cc1debb63383c (patch)
tree438d0651906f54b5248d171cc597f4342d420ee8
parent8e4b4f2013b3f347e84398c70eabab60f6edd625 (diff)
downloadmu-86a124769dcc2e94a452595cc80cc1debb63383c.tar.gz
6808
-rw-r--r--126write-int-decimal.subx2
-rw-r--r--400.mu2
2 files changed, 2 insertions, 2 deletions
diff --git a/126write-int-decimal.subx b/126write-int-decimal.subx
index 4c0194e9..f85d1e5c 100644
--- a/126write-int-decimal.subx
+++ b/126write-int-decimal.subx
@@ -5,7 +5,7 @@
 # . op          subop               mod             rm32          base        index         scale       r32
 # . 1-3 bytes   3 bits              2 bits          3 bits        3 bits      3 bits        2 bits      2 bits      0/1/2/4 bytes   0/1/2/4 bytes
 
-write-int32-decimal:  # out: (addr stream byte), n: int32
+write-int32-decimal:  # out: (addr stream byte), n: int
     # works by generating characters from lowest to highest and pushing them
     # to the stack, before popping them one by one into the stream
     #
diff --git a/400.mu b/400.mu
index db32cdc9..dbb16f2e 100644
--- a/400.mu
+++ b/400.mu
@@ -107,7 +107,7 @@ sig skip-string line: (addr stream byte)
 sig skip-until-close-paren line: (addr stream byte)
 #sig skip-until-close-paren-in-slice curr: (addr byte), end: (addr byte) -> curr/eax: (addr byte)
 sig write-stream-data f: (addr buffered-file), s: (addr stream byte)
-sig write-int32-decimal out: (addr stream byte), n: int32
+sig write-int32-decimal out: (addr stream byte), n: int
 sig is-decimal-digit? c: byte -> result/eax: boolean
 sig to-decimal-digit in: byte -> out/eax: int
 sig next-word line: (addr stream byte), out: (addr slice)