diff options
author | Nick Clifton <nickc@redhat.com> | 2011-04-11 08:20:25 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2011-04-11 08:20:25 +0000 |
commit | 249c2423d47e9b0d1ab783d57a0f75026a37210d (patch) | |
tree | 97c7469c7103f61a9b300a140725ae22647ad2a2 /gas | |
parent | f64b2e8d60f277b705c96d4b4e585f5f7c847cc4 (diff) | |
download | gdb-249c2423d47e9b0d1ab783d57a0f75026a37210d.zip gdb-249c2423d47e9b0d1ab783d57a0f75026a37210d.tar.gz gdb-249c2423d47e9b0d1ab783d57a0f75026a37210d.tar.bz2 |
* config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
in order to avoid a compile time warning.
(getprocreg_image): Likewise.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-cr16.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 13a1075..c2b292f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2011-04-11 Nick Clifton <nickc@redhat.com> + + * config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter + in order to avoid a compile time warning. + (getprocreg_image): Likewise. + 2011-04-11 Alan Modra <amodra@gmail.com> * config/tc-cr16.c (getprocreg_image): Correct range check. diff --git a/gas/config/tc-cr16.c b/gas/config/tc-cr16.c index 09e51b3..2df4e34 100644 --- a/gas/config/tc-cr16.c +++ b/gas/config/tc-cr16.c @@ -1664,7 +1664,7 @@ getidxregp_image (reg r) If the register is illegal for the current instruction, issue an error. */ static int -getprocreg_image (reg r) +getprocreg_image (int r) { const reg_entry *rreg; char *reg_name; @@ -1702,7 +1702,7 @@ getprocreg_image (reg r) If the register is illegal for the current instruction, issue an error. */ static int -getprocregp_image (reg r) +getprocregp_image (int r) { const reg_entry *rreg; char *reg_name; |