* target.c (ffetarget_print_hex): Const-ify.
From-SVN: r50535
This commit is contained in:
parent
27e486c5d9
commit
b29bb8325b
@ -1,3 +1,7 @@
|
|||||||
|
Sun Mar 10 12:37:42 2002 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||||
|
|
||||||
|
* target.c (ffetarget_print_hex): Const-ify.
|
||||||
|
|
||||||
2002-03-06 Phil Edwards <pme@gcc.gnu.org>
|
2002-03-06 Phil Edwards <pme@gcc.gnu.org>
|
||||||
|
|
||||||
* version.c: Fix misplaced leading blanks on first line.
|
* version.c: Fix misplaced leading blanks on first line.
|
||||||
|
@ -2190,7 +2190,7 @@ ffetarget_print_hex (FILE *f, ffetargetTypeless value)
|
|||||||
{
|
{
|
||||||
char *p;
|
char *p;
|
||||||
char digits[sizeof (value) * CHAR_BIT / 4 + 1];
|
char digits[sizeof (value) * CHAR_BIT / 4 + 1];
|
||||||
static char hexdigits[16] = "0123456789ABCDEF";
|
static const char hexdigits[16] = "0123456789ABCDEF";
|
||||||
|
|
||||||
if (f == NULL)
|
if (f == NULL)
|
||||||
f = dmpout;
|
f = dmpout;
|
||||||
|
Loading…
Reference in New Issue
Block a user