Fixed gcc4 warning

This commit is contained in:
Stanislav Shwartsman 2009-01-30 21:05:01 +00:00
parent a1c11c788b
commit 368eb61eed

View File

@ -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"
};