Fixed gcc4 warning
This commit is contained in:
parent
a1c11c788b
commit
368eb61eed
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: fpu.cc,v 1.49 2009-01-16 18:18:59 sshwarts Exp $
|
||||
// $Id: fpu.cc,v 1.50 2009-01-30 21:05:01 sshwarts Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (c) 2003 Stanislav Shwartsman
|
||||
@ -538,10 +538,10 @@ void BX_CPP_AttrRegparmN(1) BX_CPU_C::FPLEGACY(bxInstruction_c *i)
|
||||
void BX_CPU_C::print_state_FPU(void)
|
||||
{
|
||||
static double scale_factor = pow(2.0, -63.0);
|
||||
static char* cw_round_control[] = {
|
||||
static const char* cw_round_control[] = {
|
||||
"NEAREST", "DOWN", "UP", "CHOP"
|
||||
};
|
||||
static char* cw_precision_control[] = {
|
||||
static const char* cw_precision_control[] = {
|
||||
"32", "RES", "64", "80"
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user