mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-05-04 07:08:26 +00:00
Fix sign mismatch.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
@@ -37,7 +37,7 @@ static void write_message(::capnp::MallocMessageBuilder & message, const std::st
|
||||
gzFile file = gzopen(filename.c_str(), "w");
|
||||
NPNR_ASSERT(file != Z_NULL);
|
||||
|
||||
NPNR_ASSERT(gzwrite(file, &bytes[0], bytes.size()) == bytes.size());
|
||||
NPNR_ASSERT(gzwrite(file, &bytes[0], bytes.size()) == (int)bytes.size());
|
||||
NPNR_ASSERT(gzclose(file) == Z_OK);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user