diff options
author | 2009-04-27 09:18:17 +0000 | |
---|---|---|
committer | 2009-04-27 09:18:17 +0000 | |
commit | 9eb86548bbb847ca2fc01f04fc3a4caa3568aefe (patch) | |
tree | 7bc8d0a67746251f1ec2dc38d52a1e8da5c381be /src/emu/ui.c | |
parent | 5d4816b66528f07a78ce8470413c524cbb57c799 (diff) |
Added missing casts and made other tweaks. The entire project
can now be optionally compiled with the C++ compiler (mingw g++
only for the moment; MSVC still has issues).
Diffstat (limited to 'src/emu/ui.c')
-rw-r--r-- | src/emu/ui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/ui.c b/src/emu/ui.c index bafc859e1c8..a71e7986888 100644 --- a/src/emu/ui.c +++ b/src/emu/ui.c @@ -1987,7 +1987,7 @@ static char *slider_get_laserdisc_desc(const device_config *laserdisc) #ifdef MAME_DEBUG static INT32 slider_crossscale(running_machine *machine, void *arg, astring *string, INT32 newval) { - input_field_config *field = arg; + input_field_config *field = (input_field_config *)arg; if (newval != SLIDER_NOCHANGE) field->crossscale = (float)newval * 0.001f; @@ -2006,7 +2006,7 @@ static INT32 slider_crossscale(running_machine *machine, void *arg, astring *str #ifdef MAME_DEBUG static INT32 slider_crossoffset(running_machine *machine, void *arg, astring *string, INT32 newval) { - input_field_config *field = arg; + input_field_config *field = (input_field_config *)arg; if (newval != SLIDER_NOCHANGE) field->crossoffset = (float)newval * 0.001f; |