From: Hervé Poussineau <hpous...@reactos.org> Signed-off-by: Hervé Poussineau <hpous...@reactos.org> Signed-off-by: Kevin Wolf <kw...@redhat.com> --- hw/fdc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/fdc.c b/hw/fdc.c index a197c48..de8778b 100644 --- a/hw/fdc.c +++ b/hw/fdc.c @@ -1244,7 +1244,7 @@ static void fdctrl_start_transfer(FDCtrl *fdctrl, int direction) fdctrl->data_state |= FD_STATE_MULTI; else fdctrl->data_state &= ~FD_STATE_MULTI; - if (fdctrl->fifo[5] == 00) { + if (fdctrl->fifo[5] == 0) { fdctrl->data_len = fdctrl->fifo[8]; } else { int tmp; -- 1.7.6.5