gingerBill hace 5 años
padre
commit
a72ac6f841
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
 }