gingerBill 5 năm trước cách đây
mục cha
commit
a72ac6f841
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/ir.cpp

+ 1 - 1
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);
 }