aboutsummaryrefslogtreecommitdiffhomepage
path: root/ir.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-09-11 19:46:48 +0200
committerlemon <lsof@mailbox.org>2025-09-11 19:46:48 +0200
commitc8af181799015ea39b8868ef5d07b10ed255e799 (patch)
tree70457d6919e020b63de50e0886ad3b9c8edfcb2d /ir.c
parent9e716974e693761105f3afcb3021e8fa14f1f505 (diff)
oops
Diffstat (limited to 'ir.c')
-rw-r--r--ir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir.c b/ir.c
index fa840cc..30239ed 100644
--- a/ir.c
+++ b/ir.c
@@ -50,7 +50,7 @@ irinit(struct function *fn)
if (naddrht >= arraylength(addrht)/2)
memset(addrht, naddrht = 0, sizeof addrht);
if (nconht >= arraylength(conht)/2)
- memset(addrht, nconht = 0, sizeof addrht);
+ memset(conht, nconht = 0, sizeof conht);
if (!type2cls[TYINT]) {
for (int i = TYBOOL; i <= TYUVLONG; ++i) {
int siz = targ_primsizes[i];