Skip to content

Commit

Permalink
Correct a sign-compare warning (#516)
Browse files Browse the repository at this point in the history
thrown by Cygwin 32 bits
  • Loading branch information
Ben RUBSON authored Apr 26, 2018
1 parent c3340c9 commit 5b7abe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion encfs/BlockFileIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ ssize_t BlockFileIO::read(const IORequest &req) const {
++blockNum;
partialOffset = 0;

if (readSize < _blockSize) {
if ((size_t)readSize < _blockSize) {
break;
}
}
Expand Down

0 comments on commit 5b7abe3

Please sign in to comment.