diff options
| author | 2009-03-12 07:43:03 +0000 | |
|---|---|---|
| committer | 2009-03-12 07:43:03 +0000 | |
| commit | eb539cce9d58a349e0dffff237dc96bb926ca06f (patch) | |
| tree | e86162a925dfb228169afd2fb6309cba906400c5 /src/emu/debug/debugcmd.c | |
| parent | feb4e2c8b368f5ec7f251e764167fd24708700f3 (diff) | |
Many casts added to the core files, and various other tweaks
to make them compile as either C or C++.
Diffstat (limited to 'src/emu/debug/debugcmd.c')
| -rw-r--r-- | src/emu/debug/debugcmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/debug/debugcmd.c b/src/emu/debug/debugcmd.c index 0abed9ec682..f08f5fa105c 100644 --- a/src/emu/debug/debugcmd.c +++ b/src/emu/debug/debugcmd.c @@ -322,7 +322,7 @@ static UINT64 execute_if(void *globalref, void *ref, UINT32 params, const UINT64 static UINT64 global_get(void *globalref, void *ref) { - global_entry *global = ref; + global_entry *global = (global_entry *)ref; switch (global->size) { case 1: return *(UINT8 *)global->base; @@ -340,7 +340,7 @@ static UINT64 global_get(void *globalref, void *ref) static void global_set(void *globalref, void *ref, UINT64 value) { - global_entry *global = ref; + global_entry *global = (global_entry *)ref; switch (global->size) { case 1: *(UINT8 *)global->base = value; break; |
