aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ppbus
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2005-12-21 00:09:11 +0000
committerSam Leffler <sam@FreeBSD.org>2005-12-21 00:09:11 +0000
commit1528156d7152f1db75bfa9c248279533343eee76 (patch)
treee9829afafa5c7b2fdb7899393d7d3d0dabcee189 /sys/dev/ppbus
parentff6f03c7cd13327983288bd70b58f6bc1487cf83 (diff)
Notes
Diffstat (limited to 'sys/dev/ppbus')
-rw-r--r--sys/dev/ppbus/immio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ppbus/immio.c b/sys/dev/ppbus/immio.c
index 7bb9ad463929..6dc30cc63961 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);