Compile on x86 (ILP32).

This commit is contained in:
marcel 2014-05-15 15:20:43 +00:00
parent 2eb28a8acb
commit 23d837746d

View File

@ -80,7 +80,7 @@ image_copyin(lba_t blk, int fd, uint64_t *sizep)
if (error)
break;
blk += bcnt;
partial = (bcnt * secsz != rdsz) ? 1 : 0;
partial = ((ssize_t)(bcnt * secsz) != rdsz) ? 1 : 0;
}
free(buffer);
if (sizep != NULL)