Skip to content

Commit

Permalink
Fix -Wsign-compare warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rbx authored and dennisklein committed Nov 28, 2018
1 parent 489bea5 commit 33f5590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fairmq/shmem/FairMQSocketSHM.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ int64_t FairMQSocketSHM::Send(vector<FairMQMessagePtr>& msgVec, const int timeou
}
else if (nbytes > 0)
{
assert(nbytes == (vecSize * sizeof(MetaHeader))); // all or nothing
assert(static_cast<unsigned int>(nbytes) == (vecSize * sizeof(MetaHeader))); // all or nothing

for (auto& msg : msgVec)
{
Expand Down

0 comments on commit 33f5590

Please sign in to comment.