gingerBill 5 yıl önce
ebeveyn
işleme
a72ac6f841
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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);
 }