summaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-10-27 06:40:44 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-10-27 06:40:44 +0000
commitdbe0a914feb2459316734caf75473b7ddf211db4 (patch)
tree632cb911d2f7df34029defcdfae717eea6311409 /gcc/print-tree.c
parent8ba8185c32e06be34a2f6a3056fd2c8dfc8eadfc (diff)
downloadgcc-dbe0a914feb2459316734caf75473b7ddf211db4.tar.gz
(print_node_brief): Use unsigned char to print
the bytes of a real constant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5917 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index 63877c1682b..5b41faaa208 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -133,7 +133,7 @@ print_node_brief (file, prefix, node, indent)
#else
{
int i;
- char *p = (char *) &TREE_REAL_CST (node);
+ unsigned char *p = (unsigned char *) &TREE_REAL_CST (node);
fprintf (file, " 0x");
for (i = 0; i < sizeof TREE_REAL_CST (node); i++)
fprintf (file, "%02x", *p++);