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

@@ -66,7 +66,7 @@ int T0130_verify10_simple(const char *initiator, const char *url)
/* read and verify the first 1 - 256 blocks at the start of the LUN */
printf("Read+verify first 1-256 blocks ... ");
for (i = 1; i <= 256; i++) {
char *buf;
unsigned char *buf;
task = iscsi_read10_sync(iscsi, lun, 0, i * block_size, block_size);
if (task == NULL) {