diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-05-25 16:42:20 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-05-25 16:42:20 +0000 |
commit | 08351fb37ae0abe0d0a025ad67709f1f1fd63d59 (patch) | |
tree | ffdee84d01625d1ce19bd8ed72ac33deaae99e66 | |
parent | 85e53d4108ea1ea0179706ae59e9b573c14dd549 (diff) |
fixed cast
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@182 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | disas.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |