Skip to content

Commit

Permalink
[libc] Fix aarch64 build error in FEnvSafeTest change (#89826)
Browse files Browse the repository at this point in the history
  • Loading branch information
frobtech authored Apr 23, 2024
1 parent 6b8d385 commit 859de94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libc/test/UnitTest/FEnvSafeTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void FEnvSafeTest::set_fenv(const fenv_t &fenv) {
void FEnvSafeTest::expect_fenv_eq(const fenv_t &before_fenv,
const fenv_t &after_fenv) {
#if defined(LIBC_TARGET_ARCH_IS_AARCH64)
using LIBC_NAMESPACE::fputil::FEnv::FPState;
using FPState = LIBC_NAMESPACE::fputil::FEnv::FPState;
const FPState &before_state = reinterpret_cast<const FPState &>(before_fenv);
const FPState &after_state = reinterpret_cast<const FPState &>(after_fenv);

Expand Down

0 comments on commit 859de94

Please sign in to comment.