Fix for softlist compile (no whatsnew)

This commit is contained in:
Miodrag Milanovic 2011-12-10 07:04:17 +00:00
parent 29efa99770
commit bedf4ade35

View File

@ -762,8 +762,7 @@ static void start_handler(void *data, const char *tagname, const char **attribut
else if ( str_loadflag && !strcmp(str_loadflag, "fill") ) else if ( str_loadflag && !strcmp(str_loadflag, "fill") )
{ {
/* Handle 'fill' loadflag */ /* Handle 'fill' loadflag */
UINT8 val = strtol( str_value, NULL, 0 ) & 0xff; add_rom_entry( swlist, NULL, (const char*)(FPTR)(strtol( str_value, NULL, 0 ) & 0xff), offset, length, ROMENTRYTYPE_FILL );
add_rom_entry( swlist, NULL, (const char*)val, offset, length, ROMENTRYTYPE_FILL );
} }
else else
{ {