Fixed compilation issue (patch by Eugene Toder)

This commit is contained in:
Stanislav Shwartsman 2008-04-27 19:47:12 +00:00
parent 4ecadb915b
commit 98f1930a80
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: dis_decode.cc,v 1.45 2008-02-29 05:39:40 sshwarts Exp $
// $Id: dis_decode.cc,v 1.46 2008-04-27 19:47:12 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
#include <stdio.h>
@ -329,7 +329,7 @@ x86_insn disassembler::decode(bx_bool is_32, bx_bool is_64, bx_address base, bx_
return insn;
}
void disassembler::dis_sprintf(char *fmt, ...)
void disassembler::dis_sprintf(const char *fmt, ...)
{
va_list ap;

View File

@ -263,7 +263,7 @@ private:
};
void dis_putc(char symbol);
void dis_sprintf(char *fmt, ...);
void dis_sprintf(const char *fmt, ...);
void decode_modrm(x86_insn *insn);
void resolve16_mod0 (const x86_insn *insn, unsigned mode);