Correct a sign-compare warning (#516)

thrown by Cygwin 32 bits
This commit is contained in:
Ben RUBSON 2018-04-26 16:39:59 +02:00 committed by GitHub
parent c3340c994a
commit 5b7abe3bc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -186,7 +186,7 @@ ssize_t BlockFileIO::read(const IORequest &req) const {
++blockNum;
partialOffset = 0;
if (readSize < _blockSize) {
if ((size_t)readSize < _blockSize) {
break;
}
}