Fix reported OS X compile problem.

This commit is contained in:
R. Belmont 2010-07-07 01:47:06 +00:00
parent 9580049784
commit 97713f034e

View File

@ -1645,7 +1645,7 @@ static slider_state *slider_init(running_machine *machine)
/* add CPU overclocking (cheat only) */ /* add CPU overclocking (cheat only) */
if (options_get_bool(machine->options(), OPTION_CHEAT)) if (options_get_bool(machine->options(), OPTION_CHEAT))
{ {
device_execute_interface *exec; device_execute_interface *exec = NULL;
for (bool gotone = machine->m_devicelist.first(exec); exec != NULL; gotone = exec->next(exec)) for (bool gotone = machine->m_devicelist.first(exec); exec != NULL; gotone = exec->next(exec))
{ {
void *param = (void *)&exec->device(); void *param = (void *)&exec->device();