summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/drcuml.c
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2008-06-08 02:52:17 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2008-06-08 02:52:17 +0000
commit9ecc076521d5039ebf7e5465461854e4cb7d9374 (patch)
tree7503e3ba11260c4d60afc413babfa6f1e76e61a1 /src/emu/cpu/drcuml.c
parent5fa002d23a13a53c42248798ca65784070241033 (diff)
64-bit GCC compile fixes.
Diffstat (limited to 'src/emu/cpu/drcuml.c')
-rw-r--r--src/emu/cpu/drcuml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpu/drcuml.c b/src/emu/cpu/drcuml.c
index 07e091491c6..5a23967062c 100644
--- a/src/emu/cpu/drcuml.c
+++ b/src/emu/cpu/drcuml.c
@@ -1236,7 +1236,7 @@ void drcuml_disasm(const drcuml_instruction *inst, char *buffer, drcuml_state *d
/* cache memory */
else if (drcuml != NULL && drccache_contains_pointer(drcuml->cache, (void *)(FPTR)param->value))
- dest += sprintf(dest, "[+$%X]", (drccodeptr)(FPTR)param->value - drccache_near(drcuml->cache));
+ dest += sprintf(dest, "[+$%X]", (UINT32)(FPTR)((drccodeptr)(FPTR)param->value - drccache_near(drcuml->cache)));
/* general memory */
else