diff --git a/tests/arm/fuzz_arm.cpp b/tests/arm/fuzz_arm.cpp index a5ec8052..816896cd 100644 --- a/tests/arm/fuzz_arm.cpp +++ b/tests/arm/fuzz_arm.cpp @@ -144,7 +144,7 @@ public: u32 Generate() const { u32 inst; do { - u32 random = RandInt(0, 0xFFFF); + u32 random = RandInt(0, 0xFFFFFFFF); inst = bits | (random & ~mask); } while (!is_valid(inst)); return inst;