aboutsummaryrefslogtreecommitdiff
path: root/opcodes/w65-dis.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-02-22 13:01:53 +0000
committerAlan Modra <amodra@gmail.com>2005-02-22 13:01:53 +0000
commit53c9ebc5f114920f04b2e64f03494c895aa361de (patch)
tree2e1eabac13af4689404cc842b27fdf8780e84f32 /opcodes/w65-dis.c
parent5718918d7aeb65ee118cd7f2cbcc3f1a4cde4ff6 (diff)
downloadgdb-53c9ebc5f114920f04b2e64f03494c895aa361de.zip
gdb-53c9ebc5f114920f04b2e64f03494c895aa361de.tar.gz
gdb-53c9ebc5f114920f04b2e64f03494c895aa361de.tar.bz2
* arc-ext.c: Warning fixes.
* arc-ext.h: Likewise. * cgen-opc.c: Likewise. * ia64-gen.c: Likewise. * maxq-dis.c: Likewise. * ns32k-dis.c: Likewise. * w65-dis.c: Likewise. * ia64-asmtab.c: Regenerate.
Diffstat (limited to 'opcodes/w65-dis.c')
-rw-r--r--opcodes/w65-dis.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/opcodes/w65-dis.c b/opcodes/w65-dis.c
index 3f2affa..97ad74e 100644
--- a/opcodes/w65-dis.c
+++ b/opcodes/w65-dis.c
@@ -1,5 +1,6 @@
/* Disassemble WDC 65816 instructions.
- Copyright 1995, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
+ Copyright 1995, 1998, 2000, 2001, 2002, 2005
+ Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -27,7 +28,7 @@ static fprintf_ftype fpr;
static void *stream;
static struct disassemble_info *local_info;
-static void print_operand PARAMS ((int, char *, unsigned int *));
+static void print_operand PARAMS ((int, char *, int *));
#if 0
static char *lname[] = { "r0","r1","r2","r3","r4","r5","r6","r7","s0" };
@@ -45,7 +46,7 @@ static void
print_operand (lookup, format, args)
int lookup;
char *format;
- unsigned int *args;
+ int *args;
{
int val;
int c;