aboutsummaryrefslogtreecommitdiffhomepage
path: root/c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-11-12 19:27:30 +0100
committerlemon <lsof@mailbox.org>2025-11-12 19:27:30 +0100
commit94dd33965b9d9b8c87fa8cb40a8088bfbb1f5e42 (patch)
tree05798ce3a8127c5901d9100c69ea40da834dcff6 /c
parentb55005e5c08868c88ab7109464066f5da36bdf37 (diff)
revert b55005e5c08. correct fix was in c.c
Diffstat (limited to 'c')
-rw-r--r--c/c.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/c/c.c b/c/c.c
index 8530a90..415b584 100644
--- a/c/c.c
+++ b/c/c.c
@@ -2809,7 +2809,6 @@ cvt(struct function *fn, union type to, union type from, union ref ref)
if (to.bits == from.bits) return ref;
assert(kto && kfrom);
if (kto == kfrom && to.t != TYBOOL) return ref;
- if (ref.t == RICON && kto < KF4) return ref;
if (kisflt(kto) || kisflt(kfrom)) {
if (ref.t == RICON) {