Fixed 64-bit GCC build.

This commit is contained in:
R. Belmont 2009-11-23 17:28:24 +00:00
parent c8093c4a52
commit e76480c990

View File

@ -1469,7 +1469,7 @@ int mame_validitychecks(const game_driver *curdriver)
{
const char *string = input_port_string_from_index(strnum);
if (string != NULL)
tagmap_add(defstr, string, (void *)strnum);
tagmap_add(defstr, string, (void *)(FPTR)strnum);
}
prep += get_profile_ticks();