aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-02-23 10:26:49 +0000
committergingerBill <bill@gingerbill.org>2020-02-23 10:26:49 +0000
commita72ac6f84140f3cb5f5ed790ec76182efa4f959a (patch)
tree8a61282e8bc78e14346f14037ea17dc3060a0ced /src/ir.cpp
parent8a6777514985793bc607ea1b915675a566033730 (diff)
Fix #572
Diffstat (limited to 'src/ir.cpp')
-rw-r--r--src/ir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir.cpp b/src/ir.cpp
index f28179472..b171e8589 100644
--- a/src/ir.cpp
+++ b/src/ir.cpp
@@ -5714,7 +5714,7 @@ irValue *ir_emit_transmute(irProcedure *proc, irValue *value, Type *t) {
}
// TODO(bill): Actually figure out what the conversion needs to be correctly 'cause LLVM
- return ir_emit_bitcast(proc, value, dst);
+ return ir_emit_bitcast(proc, value, t);
}