summaryrefslogtreecommitdiff
path: root/bfd/libhppa.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-10-17 23:21:41 +0000
committerJeff Law <law@redhat.com>1999-10-17 23:21:41 +0000
commitfd00c1492159d90ca35835eca72fd460df9678a0 (patch)
treee336d0f26a46320b5b687a8a0875fbd819157623 /bfd/libhppa.h
parentfe80b980d6d9a92a9bfb635d24afe2b7c6c44982 (diff)
downloadbinutils-redhat-fd00c1492159d90ca35835eca72fd460df9678a0.tar.gz
* libhppa.h (bfd_hppa_insn2fmt): Change to return an int.
Diffstat (limited to 'bfd/libhppa.h')
-rw-r--r--bfd/libhppa.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/libhppa.h b/bfd/libhppa.h
index 15181088ad..b971364666 100644
--- a/bfd/libhppa.h
+++ b/bfd/libhppa.h
@@ -72,7 +72,7 @@ static INLINE void low_sign_unext (unsigned int, unsigned int, unsigned int *)
static INLINE unsigned long hppa_field_adjust (unsigned long, unsigned long,
unsigned short)
__attribute__ ((__unused__));
-static INLINE char bfd_hppa_insn2fmt (unsigned long)
+static INLINE int bfd_hppa_insn2fmt (unsigned long)
__attribute__ ((__unused__));
static INLINE unsigned long hppa_rebuild_insn (bfd *, unsigned long,
unsigned long, unsigned long)
@@ -579,11 +579,11 @@ hppa_field_adjust (value, constant_value, r_field)
FIXME: opcodes which do not map to a known format
should return an error of some sort. */
-static INLINE char
+static INLINE int
bfd_hppa_insn2fmt (insn)
unsigned long insn;
{
- char fmt = -1;
+ char int = -1;
unsigned char op = get_opcode (insn);
switch (op)