From 0786716c5a9b352f24bb3e3386515ae3298942e7 Mon Sep 17 00:00:00 2001 From: Damien George <damien.p.george@gmail.com> Date: Fri, 27 Nov 2015 14:06:53 +0000 Subject: [PATCH] py/asmx86: Fix function definition to use int32_t instead of int. --- py/asmx86.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/asmx86.c b/py/asmx86.c index 25f0db885..40958826f 100644 --- a/py/asmx86.c +++ b/py/asmx86.c @@ -305,7 +305,7 @@ void asm_x86_mov_i8_to_r8(asm_x86_t *as, int src_i8, int dest_r32) { } #endif -void asm_x86_mov_i32_to_r32(asm_x86_t *as, int src_i32, int dest_r32) { +void asm_x86_mov_i32_to_r32(asm_x86_t *as, int32_t src_i32, int dest_r32) { asm_x86_write_byte_1(as, OPCODE_MOV_I32_TO_R32 | dest_r32); asm_x86_write_word32(as, src_i32); } -- GitLab