From 4b49bd47f464fb3fe31a943b913edb565fa68423 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Wed, 31 Oct 2007 18:04:22 -0700 Subject: String constant const-ness changes to placate g++ 4.2. Also some bug fixes in MIPS ISA uncovered by g++ warnings (Python string compares don't work in C++!). --HG-- extra : convert_revision : b347cc0108f23890e9b73b3ee96059f0cea96cf6 --- src/arch/x86/insts/static_inst.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/x86/insts/static_inst.cc') diff --git a/src/arch/x86/insts/static_inst.cc b/src/arch/x86/insts/static_inst.cc index 510295157..d2ec8878c 100644 --- a/src/arch/x86/insts/static_inst.cc +++ b/src/arch/x86/insts/static_inst.cc @@ -126,7 +126,7 @@ namespace X86ISA {"", "t%db", "t%dw", "", "t%dd", "", "", "", "t%d"}; if (reg < FP_Base_DepTag) { - char * suffix = ""; + const char * suffix = ""; bool fold = reg & (1 << 6); reg &= ~(1 << 6); -- cgit v1.2.3