Skip to content

Commit 375d934

Browse files
committed
[PS4] Fix a buggy cast
1 parent 05b4bf2 commit 375d934

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Driver/ToolChains/PS4CPU.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ void tools::PS4cpu::Link::ConstructJob(Compilation &C, const JobAction &JA,
9494
const InputInfoList &Inputs,
9595
const ArgList &Args,
9696
const char *LinkingOutput) const {
97-
const toolchains::FreeBSD &ToolChain =
98-
static_cast<const toolchains::FreeBSD &>(getToolChain());
97+
const toolchains::PS4CPU &ToolChain =
98+
static_cast<const toolchains::PS4CPU &>(getToolChain());
9999
const Driver &D = ToolChain.getDriver();
100100
ArgStringList CmdArgs;
101101

0 commit comments

Comments
 (0)