From 1b71e0e52dc9eacf236f7943fda7ea83fd5ba148 Mon Sep 17 00:00:00 2001 From: Nibble Date: Fri, 20 Feb 2009 16:29:12 +0100 Subject: [PATCH] * Fixed build O:) * Removed warning from asm_x86_bea plugin --- libr/asm/p/asm_x86_bea.c | 2 +- libr/include/r_core.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libr/asm/p/asm_x86_bea.c b/libr/asm/p/asm_x86_bea.c index 9af41811b0..bdadf8706e 100644 --- a/libr/asm/p/asm_x86_bea.c +++ b/libr/asm/p/asm_x86_bea.c @@ -27,7 +27,7 @@ static int disassemble(struct r_asm_t *a, struct r_asm_aop_t *aop, u8 *buf, u64 aop->inst_len = Disasm(&disasm_obj); - snprintf(aop->buf_asm, 256, &disasm_obj.CompleteInstr); + snprintf(aop->buf_asm, 256, disasm_obj.CompleteInstr); if (aop->inst_len > 0) { r_hex_bin2str(buf, aop->inst_len, aop->buf_hex); diff --git a/libr/include/r_core.h b/libr/include/r_core.h index bf16e2cb6b..070ec568df 100644 --- a/libr/include/r_core.h +++ b/libr/include/r_core.h @@ -5,6 +5,7 @@ #include "r_io.h" #include "r_lib.h" #include "r_lang.h" +#include "r_asm.h" #include "r_anal.h" #include "r_cmd.h" #include "r_meta.h"