summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/x86log.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-03-12 16:54:49 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-03-12 16:54:49 +0000
commit32bc986ec0d0b5bd47a18f5970d910df41bf38f9 (patch)
treec0cd3b83af4924101d85cdcc1403abe88f6de55e /src/emu/cpu/x86log.c
parent1d85ed15092aa1fabc3b9bcc05610d1f8917a01d (diff)
Moved some of the CPU cores over to use get_safe_token like other devices.
Also cleaned them so they compile.
Diffstat (limited to 'src/emu/cpu/x86log.c')
-rw-r--r--src/emu/cpu/x86log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpu/x86log.c b/src/emu/cpu/x86log.c
index 8a29c8d3918..c7a1dd5e5de 100644
--- a/src/emu/cpu/x86log.c
+++ b/src/emu/cpu/x86log.c
@@ -91,7 +91,7 @@ x86log_context *x86log_create_context(const char *filename)
x86log_context *log;
/* allocate the log */
- log = malloc_or_die(sizeof(*log));
+ log = (x86log_context *)malloc_or_die(sizeof(*log));
memset(log, 0, sizeof(*log));
/* allocate the filename */