diff --git a/cpu/ChangeLog b/cpu/ChangeLog
index 7cbbfffc9e14689961993a98f8519f7c42a7e78c..891456859919b180dd5b80da4e78fa584423611f 100644
--- a/cpu/ChangeLog
+++ b/cpu/ChangeLog
@@ -1,3 +1,7 @@
+2005-02-24  Alan Modra  <amodra@bigpond.net.au>
+
+	* frv.opc (parse_A): Warning fix.
+
 2005-02-23  Nick Clifton  <nickc@redhat.com>
 
 	* frv.opc: Fixed compile time warnings about differing signed'ness
diff --git a/cpu/frv.opc b/cpu/frv.opc
index 1de2385f3517ed5b4cc4bc03f609ac24d666e675..ba567bad7784d75cf219094abbaf647e30c3ad62 100644
--- a/cpu/frv.opc
+++ b/cpu/frv.opc
@@ -968,7 +968,7 @@ static const char * parse_A0
 static const char * parse_A1
   PARAMS ((CGEN_CPU_DESC, const char **, int, unsigned long *));
 static const char * parse_A
-  PARAMS ((CGEN_CPU_DESC, const char **, int, unsigned long *, long));
+  PARAMS ((CGEN_CPU_DESC, const char **, int, unsigned long *, unsigned long));
 
 inline static const char *
 parse_symbolic_address (CGEN_CPU_DESC cd,
@@ -1821,7 +1821,7 @@ parse_A (cd, strp, opindex, valuep, A)
      const char **strp;
      int opindex;
      unsigned long *valuep;
-     long A;
+     unsigned long A;
 {
   const char *errmsg;