diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 89d238efe4..43c625131f 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,8 @@ +2010-04-10 Mike Frysinger + + * sim-fpu.c (sim_fpu_print_status): Add const markings to local + "prefix" var. + 2010-04-10 Mike Frysinger * sim-fpu.c (sim_fpu_print_status): Remove duplicate break statements. diff --git a/sim/common/sim-fpu.c b/sim/common/sim-fpu.c index ad25f323e1..7af617067c 100644 --- a/sim/common/sim-fpu.c +++ b/sim/common/sim-fpu.c @@ -2497,7 +2497,7 @@ sim_fpu_print_status (int status, void *arg) { int i = 1; - char *prefix = ""; + const char *prefix = ""; while (status >= i) { switch ((sim_fpu_status) (status & i))