diff --git a/tests/A64/unicorn_emu/unicorn.cpp b/tests/A64/unicorn_emu/unicorn.cpp index ccb1feea..3b7e5b5f 100644 --- a/tests/A64/unicorn_emu/unicorn.cpp +++ b/tests/A64/unicorn_emu/unicorn.cpp @@ -114,7 +114,7 @@ void Unicorn::SetVectors(const std::array& value) { } u32 Unicorn::GetFpcr() const { - u64 fpcr; + u32 fpcr; CHECKED(uc_reg_read(uc, UC_ARM64_REG_FPCR, &fpcr)); return fpcr; }