gingerBill %!s(int64=5) %!d(string=hai) anos
pai
achega
a72ac6f841
Modificáronse 1 ficheiros con 1 adicións e 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);
 }