diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2005-12-21 00:09:11 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2005-12-21 00:09:11 +0000 |
| commit | 1528156d7152f1db75bfa9c248279533343eee76 (patch) | |
| tree | e9829afafa5c7b2fdb7899393d7d3d0dabcee189 /sys/dev/ppbus | |
| parent | ff6f03c7cd13327983288bd70b58f6bc1487cf83 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ppbus')
| -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 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); |
