diff options
author | R. Belmont <rb6502@users.noreply.github.com> | 2008-08-27 02:16:38 +0000 |
---|---|---|
committer | R. Belmont <rb6502@users.noreply.github.com> | 2008-08-27 02:16:38 +0000 |
commit | bfd0b5363840b114810fc45759b773a76aa6ea92 (patch) | |
tree | 10bb5bef1a5e9c957be8ad74b38c4813f5701827 | |
parent | cd299d9f8e7016e04105cbb5b099eae07236d03c (diff) |
Fixed 64-bit GCC compile error.
-rw-r--r-- | src/mame/drivers/snk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/snk.c b/src/mame/drivers/snk.c index 41e9783061b..6ac05430575 100644 --- a/src/mame/drivers/snk.c +++ b/src/mame/drivers/snk.c @@ -574,7 +574,7 @@ CUSTOM_INPUT( gwar_rotary ) static int last_value[2] = {0, 0}; static int cp_count[2] = {0, 0}; static const char *ports[] = { "P1ROT", "P2ROT" }; - int which = (int)param; + int which = (int)(FPTR)param; int value = input_port_read(field->port->machine, ports[which]); if ((last_value[which] == 0x5 && value == 0x6) || (last_value[which] == 0x6 && value == 0x5)) |