fix some compiler warnings

This commit is contained in:
Ronnie Sahlberg
2012-03-10 12:08:05 +11:00
parent ed1d957ec9
commit a5d81fc16a
6 changed files with 7 additions and 6 deletions

View File

@@ -229,7 +229,7 @@ test5:
task->expxferlen = sizeof(buf);
data.size = sizeof(buf);
data.data = &buf[0];
data.data = (unsigned char *)&buf[0];
if (iscsi_scsi_command_sync(iscsi, lun, task, &data) == NULL) {
printf("[FAILED]\n");