aboutsummaryrefslogtreecommitdiff
path: root/opcodes/iq2000-asm.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-02-11 16:09:30 +0000
committerNick Clifton <nickc@redhat.com>2005-02-11 16:09:30 +0000
commitbc18c937be1315894f181fa276fd6c221d205528 (patch)
tree190875ea9aacc2cf4bdf9821ff918eca83499497 /opcodes/iq2000-asm.c
parent5a84f3e0d225c671f13d8571f035283012dc6448 (diff)
downloadfsf-binutils-gdb-bc18c937be1315894f181fa276fd6c221d205528.zip
fsf-binutils-gdb-bc18c937be1315894f181fa276fd6c221d205528.tar.gz
fsf-binutils-gdb-bc18c937be1315894f181fa276fd6c221d205528.tar.bz2
Fix compile time warning building iq2000-asm.c
Diffstat (limited to 'opcodes/iq2000-asm.c')
-rw-r--r--opcodes/iq2000-asm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/opcodes/iq2000-asm.c b/opcodes/iq2000-asm.c
index 3db5d90..8bd4786 100644
--- a/opcodes/iq2000-asm.c
+++ b/opcodes/iq2000-asm.c
@@ -52,7 +52,7 @@ static const char * parse_insn_normal
#include "safe-ctype.h"
static int iq2000_cgen_isa_register PARAMS ((const char **));
-static const char * parse_jtargq10 PARAMS ((CGEN_CPU_DESC, const char **, int, int, enum cgen_parse_operand_result *, unsigned long *));
+static const char * parse_jtargq10 PARAMS ((CGEN_CPU_DESC, const char **, int, int, enum cgen_parse_operand_result *, bfd_vma *));
static const char * parse_mimm PARAMS ((CGEN_CPU_DESC, const char **, int, long *));
static const char * parse_imm PARAMS ((CGEN_CPU_DESC, const char **, int, unsigned long *));
static const char * parse_hi16 PARAMS ((CGEN_CPU_DESC, const char **, int, unsigned long *));
@@ -169,7 +169,7 @@ parse_jtargq10 (cd, strp, opindex, reloc, type_addr, valuep)
int opindex;
int reloc ATTRIBUTE_UNUSED;
enum cgen_parse_operand_result *type_addr ATTRIBUTE_UNUSED;
- unsigned long *valuep;
+ bfd_vma *valuep;
{
const char *errmsg;
bfd_vma value;
@@ -179,7 +179,7 @@ parse_jtargq10 (cd, strp, opindex, reloc, type_addr, valuep)
&result_type, &value);
if (errmsg == NULL && result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
{
- /* check value is within 23-bits (remembering that 2-bit shift right will occur) */
+ /* Check value is within 23-bits (remembering that 2-bit shift right will occur). */
if (value > 0x7fffff)
return _("21-bit offset out of range");
}