From 7a7191b720a22a575834fb8fa8b15ec224b30775 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sun, 17 Oct 1999 23:21:41 +0000 Subject: * libhppa.h (bfd_hppa_insn2fmt): Change to return an int. --- bfd/libhppa.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bfd/libhppa.h') diff --git a/bfd/libhppa.h b/bfd/libhppa.h index 1518108..b971364 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) -- cgit v1.1