Skip to content

Commit

Permalink
Fix one more.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottslaughter committed Aug 24, 2023
1 parent 6220ea2 commit a0e4290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tcompiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2689,7 +2689,7 @@ struct FunctionEmitter {
// structvariable and perform any casts necessary
B->CreateStore(in, oe);
}
return B->CreateLoad(output->getType()->getPointerElementType(), output);
return B->CreateLoad(toT->type, output);
} break;
case T_cast: {
Obj a;
Expand Down

0 comments on commit a0e4290

Please sign in to comment.