Jit64Base: Use size_t to represent size in LogGeneratedX86

This commit is contained in:
Lioncash 2017-01-07 21:57:19 -05:00
parent 77756b44d5
commit 27350dbf1c
2 changed files with 3 additions and 3 deletions

View File

@ -126,10 +126,10 @@ bool Jitx86Base::BackPatch(u32 emAddress, SContext* ctx)
return true; return true;
} }
void LogGeneratedX86(int size, const PPCAnalyst::CodeBuffer* code_buffer, const u8* normalEntry, void LogGeneratedX86(size_t size, const PPCAnalyst::CodeBuffer* code_buffer, const u8* normalEntry,
const JitBlock* b) const JitBlock* b)
{ {
for (int i = 0; i < size; i++) for (size_t i = 0; i < size; i++)
{ {
const PPCAnalyst::CodeOp& op = code_buffer->codebuffer[i]; const PPCAnalyst::CodeOp& op = code_buffer->codebuffer[i];
std::string temp = StringFromFormat( std::string temp = StringFromFormat(

View File

@ -47,5 +47,5 @@ public:
bool HandleFault(uintptr_t access_address, SContext* ctx) override; bool HandleFault(uintptr_t access_address, SContext* ctx) override;
}; };
void LogGeneratedX86(int size, const PPCAnalyst::CodeBuffer* code_buffer, const u8* normalEntry, void LogGeneratedX86(size_t size, const PPCAnalyst::CodeBuffer* code_buffer, const u8* normalEntry,
const JitBlock* b); const JitBlock* b);