projects
/
qemu
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85e53d4
)
fixed cast
author
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 25 May 2003 16:42:20 +0000
(16:42 +0000)
committer
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 25 May 2003 16:42:20 +0000
(16:42 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@182
c046a42c
-6fe2-441c-8c8c-
71466251a162
disas.c
patch
|
blob
|
history
diff --git
a/disas.c
b/disas.c
index
b626448
..
4b44e06
100644
(file)
--- a/
disas.c
+++ b/
disas.c
@@
-51,7
+51,7
@@
void disas(FILE *out, void *code, unsigned long size, enum disas_type type)
for (pc = code; pc < (uint8_t *)code + size; pc += count) {
fprintf(out, "0x%08lx: ", (long)pc);
- count = print_insn((long)pc, &disasm_info);
+ count = print_insn((unsigned long)pc, &disasm_info);
fprintf(out, "\n");
if (count < 0)
break;