Skip to content

Commit

Permalink
Silence sign comparison warning introduced by I/O seek fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
zrax committed Nov 24, 2021
1 parent b0831a9 commit 5aa8615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/libcc2/Map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1382,7 +1382,7 @@ void writeTagged(ccl::Stream* stream, const char* tag, const Writer& writer)
writer(&bs);

stream->write32(bs.size());
if (stream->write(bs.buffer(), 1, bs.size()) != bs.size())
if (stream->write(bs.buffer(), 1, bs.size()) != (size_t)bs.size())
throw ccl::IOError(ccl::RuntimeError::tr("Error writing to stream"));
}

Expand Down

0 comments on commit 5aa8615

Please sign in to comment.