IDE PNP fixes for 64-bit builds.
This commit is contained in:
@@ -2767,7 +2767,7 @@ ide_pnp_config_changed(uint8_t ld, isapnp_device_config_t *config, void *priv)
|
|||||||
if (ld)
|
if (ld)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
int board = (int) priv;
|
intptr_t board = (intptr_t) priv;
|
||||||
|
|
||||||
if (ide_boards[board]->base_main || ide_boards[board]->side_main) {
|
if (ide_boards[board]->base_main || ide_boards[board]->side_main) {
|
||||||
ide_remove_handlers(board);
|
ide_remove_handlers(board);
|
||||||
|
Reference in New Issue
Block a user