aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-pdp11.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-07-05 15:07:46 +0000
committerNick Clifton <nickc@redhat.com>2005-07-05 15:07:46 +0000
commit3ec2b351bd81ef7a827c8853e04c5612d00be84a (patch)
treee1431249747d706a97814415d8cd8df3fd5d4382 /gas/config/tc-pdp11.c
parent9d8504b17f98d4fc4a524395563fa67a4fe8d2bc (diff)
downloadgdb-3ec2b351bd81ef7a827c8853e04c5612d00be84a.zip
gdb-3ec2b351bd81ef7a827c8853e04c5612d00be84a.tar.gz
gdb-3ec2b351bd81ef7a827c8853e04c5612d00be84a.tar.bz2
Fix compile time warnings from a GCC 4.0 compiler
Diffstat (limited to 'gas/config/tc-pdp11.c')
-rw-r--r--gas/config/tc-pdp11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-pdp11.c b/gas/config/tc-pdp11.c
index a0057f1..cf103df 100644
--- a/gas/config/tc-pdp11.c
+++ b/gas/config/tc-pdp11.c
@@ -243,7 +243,7 @@ md_apply_fix (fixS *fixP,
buf = fixP->fx_where + fixP->fx_frag->fr_literal;
size = fixP->fx_size;
- code = md_chars_to_number (buf, size);
+ code = md_chars_to_number ((unsigned char *) buf, size);
switch (fixP->fx_r_type)
{