From e0635a8beb974f267e047e614858df605b1ae398 Mon Sep 17 00:00:00 2001 From: Nibble Date: Fri, 19 Mar 2010 13:51:28 +0100 Subject: [PATCH] * r_asm - Fix x86.olly plugin --- libr/asm/arch/x86/ollyasm/assembl.c | 4 ++-- libr/include/r_anal.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libr/asm/arch/x86/ollyasm/assembl.c b/libr/asm/arch/x86/ollyasm/assembl.c index 30362fdbeb..016a2a9dc7 100644 --- a/libr/asm/arch/x86/ollyasm/assembl.c +++ b/libr/asm/arch/x86/ollyasm/assembl.c @@ -288,8 +288,8 @@ static void Scanasm(int mode) { while (*asmcmd==' ' || *asmcmd=='\t') asmcmd++; return; }; - // XXX YES: we force radix=10 by default - if (base==0) { //*asmcmd=='.') { // Force decimal number + // XXX We must force base 10 by default + if (*asmcmd=='.') { // Force decimal number if (base==16 || maxdigit>9) { asmerror="Not a decimal number"; scan=SCAN_ERR; return; }; asmcmd++; diff --git a/libr/include/r_anal.h b/libr/include/r_anal.h index d862db0853..f58a5953ba 100644 --- a/libr/include/r_anal.h +++ b/libr/include/r_anal.h @@ -113,7 +113,7 @@ enum { R_ANAL_RET_END = -4 }; -typedef RAnal { +typedef struct r_anal_t { int bits; int big_endian; void *user;