Skip to content

Commit

Permalink
fixed one more gcc warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Shwartsman committed Nov 21, 2023
1 parent d39c93a commit f47ed2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bochs/iodev/floppy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2249,7 +2249,7 @@ bool bx_floppy_ctrl_c::end_of_track(void)
if (BX_FD_THIS s.sector[drive] == BX_FD_THIS s.eot[drive]) {
if (!BX_FD_THIS s.multi_track)
eot_reached = 1;
else if ((BX_FD_THIS s.head[drive] + 1) == BX_FD_THIS s.media[drive].heads)
else if ((BX_FD_THIS s.head[drive] + 1) == (int)BX_FD_THIS s.media[drive].heads)
eot_reached = 1;
}

Expand Down

0 comments on commit f47ed2a

Please sign in to comment.