aboutsummaryrefslogtreecommitdiff
path: root/cpu/m32r.opc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-02-23 16:04:40 +0000
committerNick Clifton <nickc@redhat.com>2005-02-23 16:04:40 +0000
commit33b71eeb2e25ed4cb83a1fe43cc3d0625dd51e40 (patch)
treeec8d2e60293fe2b7b60c7a275f6c6acddad236a3 /cpu/m32r.opc
parente9c55a7bd7f322580c8c7ecd9ba15feba74488e8 (diff)
downloadgdb-33b71eeb2e25ed4cb83a1fe43cc3d0625dd51e40.zip
gdb-33b71eeb2e25ed4cb83a1fe43cc3d0625dd51e40.tar.gz
gdb-33b71eeb2e25ed4cb83a1fe43cc3d0625dd51e40.tar.bz2
Fix compile time warnings generated by gcc 4.0
Diffstat (limited to 'cpu/m32r.opc')
-rw-r--r--cpu/m32r.opc7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpu/m32r.opc b/cpu/m32r.opc
index 78bd0fa..590a44a 100644
--- a/cpu/m32r.opc
+++ b/cpu/m32r.opc
@@ -1,6 +1,7 @@
/* M32R opcode support. -*- C -*-
- Copyright 1998, 1999, 2000, 2001, 2004 Free Software Foundation, Inc.
+ Copyright 1998, 1999, 2000, 2001, 2004, 2005
+ Free Software Foundation, Inc.
Contributed by Red Hat Inc; developed under contract from
Mitsubishi Electric Corporation.
@@ -88,7 +89,7 @@ m32r_cgen_dis_hash (buf, value)
/* -- asm.c */
static const char * parse_hash
- PARAMS ((CGEN_CPU_DESC, const char **, int, unsigned long *));
+ PARAMS ((CGEN_CPU_DESC, const char **, int, long *));
static const char * parse_hi16
PARAMS ((CGEN_CPU_DESC, const char **, int, unsigned long *));
static const char * parse_slo16
@@ -103,7 +104,7 @@ parse_hash (cd, strp, opindex, valuep)
CGEN_CPU_DESC cd ATTRIBUTE_UNUSED;
const char **strp;
int opindex ATTRIBUTE_UNUSED;
- unsigned long *valuep ATTRIBUTE_UNUSED;
+ long *valuep ATTRIBUTE_UNUSED;
{
if (**strp == '#')
++*strp;