diff options
author | Nick Clifton <nickc@redhat.com> | 2005-07-05 15:07:46 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-07-05 15:07:46 +0000 |
commit | 3ec2b351bd81ef7a827c8853e04c5612d00be84a (patch) | |
tree | e1431249747d706a97814415d8cd8df3fd5d4382 /gas | |
parent | 9d8504b17f98d4fc4a524395563fa67a4fe8d2bc (diff) | |
download | gdb-3ec2b351bd81ef7a827c8853e04c5612d00be84a.zip gdb-3ec2b351bd81ef7a827c8853e04c5612d00be84a.tar.gz gdb-3ec2b351bd81ef7a827c8853e04c5612d00be84a.tar.bz2 |
Fix compile time warnings from a GCC 4.0 compiler
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-pdp11.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 80a8b7f..c34b4e2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2005-07-05 Nick Clifton <nickc@redhat.com> + + * config/tc-pdp11.c (md_apply_fix): Cast first argument to + md_chars_to_numbers to an unsigned pointer in order to avoid a + compile time warning. + 2005-07-05 Paul Brook <paul@codesourcery.com> * config/tc-ppc.c (ppc_target_format): Add VxWorks. 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) { |