aboutsummaryrefslogtreecommitdiff
path: root/ld/ldexp.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-02-22 13:00:26 +0000
committerAlan Modra <amodra@gmail.com>2005-02-22 13:00:26 +0000
commit5718918d7aeb65ee118cd7f2cbcc3f1a4cde4ff6 (patch)
treeb2c403d4ebf833ca63a9a61686f854faa3ec2419 /ld/ldexp.c
parent8c62e9e130c4edabca0044ee9543339d959f0b4a (diff)
downloadgdb-5718918d7aeb65ee118cd7f2cbcc3f1a4cde4ff6.zip
gdb-5718918d7aeb65ee118cd7f2cbcc3f1a4cde4ff6.tar.gz
gdb-5718918d7aeb65ee118cd7f2cbcc3f1a4cde4ff6.tar.bz2
* ldexp.c: Warning fixes.
* ldwrite.c: Likewise. * emultempl/elf32.em: Likewise.
Diffstat (limited to 'ld/ldexp.c')
-rw-r--r--ld/ldexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldexp.c b/ld/ldexp.c
index 5ac1162..ec25557 100644
--- a/ld/ldexp.c
+++ b/ld/ldexp.c
@@ -1115,7 +1115,7 @@ exp_get_fill (etree_type *tree,
fill = xmalloc ((len + 1) / 2 + sizeof (*fill) - 1);
fill->size = (len + 1) / 2;
dst = fill->data;
- s = r.str;
+ s = (unsigned char *) r.str;
val = 0;
do
{