bandaid assumption that char is signed

MFC after:	1 week
This commit is contained in:
Sam Leffler 2005-12-21 00:09:11 +00:00
parent ff6f03c7cd
commit 1528156d71

View File

@ -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);