aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-23 20:26:30 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-23 20:26:30 +0000
commit83b34f8b5736f7ae523ba573f55f4d9a2455b57f (patch)
treef895e8341774a52b1631a64491aebcfa28a66c5a
parent18a6d284adf2d2aacca902ad683c94389e447b15 (diff)
more consistent type for size (still a bug in wrapping)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1230 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--disas.c2
-rw-r--r--disas.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/disas.c b/disas.c
index 34b0474056..3a5549d2b6 100644
--- a/disas.c
+++ b/disas.c
@@ -110,7 +110,7 @@ bfd_vma bfd_getb32 (const bfd_byte *addr)
/* Disassemble this for me please... (debugging). 'flags' is only used
for i386: non zero means 16 bit code */
-void target_disas(FILE *out, target_ulong code, unsigned long size, int flags)
+void target_disas(FILE *out, target_ulong code, target_ulong size, int flags)
{
target_ulong pc;
int count;
diff --git a/disas.h b/disas.h
index ef80fd700e..32da4ebcb3 100644
--- a/disas.h
+++ b/disas.h
@@ -3,7 +3,7 @@
/* Disassemble this for me please... (debugging). */
void disas(FILE *out, void *code, unsigned long size);
-void target_disas(FILE *out, target_ulong code, unsigned long size, int flags);
+void target_disas(FILE *out, target_ulong code, target_ulong size, int flags);
void monitor_disas(target_ulong pc, int nb_insn, int is_physical, int flags);
/* Look up symbol for debugging purpose. Returns "" if unknown. */