diff options
author | 2011-12-10 07:04:17 +0000 | |
---|---|---|
committer | 2011-12-10 07:04:17 +0000 | |
commit | bedf4ade35ff8e406d8fc0247d42c0262d54bb6e (patch) | |
tree | dfb22bc2811aef8bfede95571dd19be0e142032c /src/emu/softlist.c | |
parent | 29efa997707f222668caaaea66a2d624fc44e6ce (diff) |
Fix for softlist compile (no whatsnew)
Diffstat (limited to 'src/emu/softlist.c')
-rw-r--r-- | src/emu/softlist.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/emu/softlist.c b/src/emu/softlist.c index 91ea5208176..b7b8d4d756e 100644 --- a/src/emu/softlist.c +++ b/src/emu/softlist.c @@ -762,8 +762,7 @@ static void start_handler(void *data, const char *tagname, const char **attribut else if ( str_loadflag && !strcmp(str_loadflag, "fill") ) { /* Handle 'fill' loadflag */ - UINT8 val = strtol( str_value, NULL, 0 ) & 0xff; - add_rom_entry( swlist, NULL, (const char*)val, offset, length, ROMENTRYTYPE_FILL ); + add_rom_entry( swlist, NULL, (const char*)(FPTR)(strtol( str_value, NULL, 0 ) & 0xff), offset, length, ROMENTRYTYPE_FILL ); } else { |