arm_unicorn: Resolve sign conversion warnings
While we're at it, this also resolves a type truncation warning as well, given the code was truncating from a 64-bit value to a 32-bit one.
This commit is contained in:
parent
96d677bef0
commit
19a0abc19b
3 changed files with 10 additions and 8 deletions
|
@ -67,7 +67,7 @@ public:
|
|||
ARM_Interface::ThreadContext ctx;
|
||||
parent.SaveContext(ctx);
|
||||
parent.inner_unicorn.LoadContext(ctx);
|
||||
parent.inner_unicorn.ExecuteInstructions(static_cast<int>(num_instructions));
|
||||
parent.inner_unicorn.ExecuteInstructions(num_instructions);
|
||||
parent.inner_unicorn.SaveContext(ctx);
|
||||
parent.LoadContext(ctx);
|
||||
num_interpreted_instructions += num_instructions;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue