diff options
Diffstat (limited to 'src/emu/cpu/x86log.c')
-rw-r--r-- | src/emu/cpu/x86log.c | 2 |
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 */ |