tests: Fix truncation in GetFpcr()

This commit is contained in:
Lioncash 2018-01-25 13:06:56 -05:00 committed by Merry
parent 0cc1bce1a8
commit 1ffe4e03d9

View File

@ -114,7 +114,7 @@ void Unicorn::SetVectors(const std::array<Vector, 32>& value) {
}
u32 Unicorn::GetFpcr() const {
u64 fpcr;
u32 fpcr;
CHECKED(uc_reg_read(uc, UC_ARM64_REG_FPCR, &fpcr));
return fpcr;
}