diff options
-rw-r--r-- | sys/dev/ppbus/immio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ppbus/immio.c b/sys/dev/ppbus/immio.c index 7bb9ad4..6dc30cc 100644 --- a/sys/dev/ppbus/immio.c +++ b/sys/dev/ppbus/immio.c @@ -789,7 +789,7 @@ imm_do_scsi(struct vpoio_data *vpo, int host, int target, char *command, } /* Experience showed that we should discard this */ - if (h == -1) + if (h == (char) -1) h = 0; *result = ((int) h << 8) | ((int) l & 0xff); |