tests: Fix truncation in GetFpcr()

This commit is contained in:
Lioncash 2018-01-25 13:06:56 -05:00 committed by MerryMage
parent 589ad7232f
commit f1057aa362

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;
}