diff options
author | sam <sam@FreeBSD.org> | 2005-12-21 00:09:11 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-12-21 00:09:11 +0000 |
commit | e7c716076bc7139355653324dfa0440fb46c3bfc (patch) | |
tree | e9829afafa5c7b2fdb7899393d7d3d0dabcee189 /sys | |
parent | 4bc5d218ff39c7a81c4f034384a4fbab1131c576 (diff) | |
download | FreeBSD-src-e7c716076bc7139355653324dfa0440fb46c3bfc.zip FreeBSD-src-e7c716076bc7139355653324dfa0440fb46c3bfc.tar.gz |
bandaid assumption that char is signed
MFC after: 1 week
Diffstat (limited to 'sys')
-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); |