diff options
author | 2009-12-28 07:34:17 +0000 | |
---|---|---|
committer | 2009-12-28 07:34:17 +0000 | |
commit | f20a2e6b178f11de155f710d7d6812d8f418afba (patch) | |
tree | 53a947c79db8b93e70897032871762c470fa53ed /src/emu/inptport.c | |
parent | 4e9be151f70461a69249619f81feed354d929910 (diff) |
Fixes so we can compile as C++ again.
Diffstat (limited to 'src/emu/inptport.c')
-rw-r--r-- | src/emu/inptport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/inptport.c b/src/emu/inptport.c index adba5abf2d2..ad71fd1351d 100644 --- a/src/emu/inptport.c +++ b/src/emu/inptport.c @@ -2476,7 +2476,7 @@ static void port_config_detokenize(input_port_list *portlist, const input_port_t tagmap_error err = tagmap_add_unique_hash(portlist->map, curport->tag, curport, FALSE); if (err == TMERR_DUPLICATE) { - const input_port_config *match = tagmap_find_hash_only(portlist->map, curport->tag); + const input_port_config *match = (const input_port_config *)tagmap_find_hash_only(portlist->map, curport->tag); error_buf_append(errorbuf, errorbuflen, "tag '%s' has same hash as tag '%s'; please change one of them", curport->tag, match->tag); } } |