diff --git a/bochs/fpu/fpu.cc b/bochs/fpu/fpu.cc index c95a5dc27..b1d34f4a7 100644 --- a/bochs/fpu/fpu.cc +++ b/bochs/fpu/fpu.cc @@ -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" };