tests/fuzz_arm: Fix MSVC conversion warnings
This commit is contained in:
parent
3caf31d19c
commit
130b5510a6
1 changed files with 2 additions and 2 deletions
|
@ -288,9 +288,9 @@ void FuzzJitArm(const size_t instruction_count, const size_t instructions_to_exe
|
||||||
printf("%zu [%x] = %" PRIx64 "\n", record.size, record.address, record.data);
|
printf("%zu [%x] = %" PRIx64 "\n", record.size, record.address, record.data);
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 num_insts = 0;
|
size_t num_insts = 0;
|
||||||
while (num_insts < instructions_to_execute_count) {
|
while (num_insts < instructions_to_execute_count) {
|
||||||
Dynarmic::Arm::LocationDescriptor descriptor = {num_insts * 4, false, false, 0};
|
Dynarmic::Arm::LocationDescriptor descriptor = {u32(num_insts * 4), false, false, 0};
|
||||||
Dynarmic::IR::Block ir_block = Dynarmic::Arm::Translate(descriptor, &MemoryRead32);
|
Dynarmic::IR::Block ir_block = Dynarmic::Arm::Translate(descriptor, &MemoryRead32);
|
||||||
Dynarmic::Optimization::GetSetElimination(ir_block);
|
Dynarmic::Optimization::GetSetElimination(ir_block);
|
||||||
Dynarmic::Optimization::DeadCodeElimination(ir_block);
|
Dynarmic::Optimization::DeadCodeElimination(ir_block);
|
||||||
|
|
Loading…
Reference in a new issue