From f3f2031a8cbfc34cd70e85f6b29ae99c57825fad Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Sun, 9 Jan 2011 09:48:59 +1100 Subject: [PATCH] Fix a compiler warning --- lib/scsi-command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scsi-command.c b/lib/scsi-command.c index fcd5d22..e43bdc2 100644 --- a/lib/scsi-command.c +++ b/lib/scsi-command.c @@ -267,7 +267,7 @@ iscsi_scsi_command_async(struct iscsi_context *iscsi, int lun, } offset = len; - if (len == data.size) { + if (len == (uint32_t)data.size) { /* We managed to send it all as immediate data, so there is no non-immediate data left */ pdu->nidata.data = NULL; pdu->nidata.size = 0;