* config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
authorNick Clifton <nickc@redhat.com>
Mon, 11 Apr 2011 08:20:25 +0000 (08:20 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 11 Apr 2011 08:20:25 +0000 (08:20 +0000)
in order to avoid a compile time warning.
(getprocreg_image): Likewise.

gas/ChangeLog
gas/config/tc-cr16.c

index 13a107558dfe5ec32a1ef4f95ac605f7b784563f..c2b292fd84086d65db6ac49a630017e871f9d23c 100644 (file)
@@ -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.
index 09e51b3f856f7319063c0ddc25a5d4a52162bba4..2df4e346099e8ef0f354828817332511bdefb80a 100644 (file)
@@ -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;
This page took 0.028662 seconds and 4 git commands to generate.