mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 02:02:38 +01:00
ircd:Ⓜ️:get: Fix mismatched integer comparison.
This commit is contained in:
parent
c0f0398b45
commit
4549f44f08
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ ircd::m::get(const vector_view<const event::idx> &event_idx,
|
|||
__builtin_popcountl(mask)
|
||||
};
|
||||
|
||||
if(unlikely(found < event_idx.size()))
|
||||
if(unlikely(size_t(found) < event_idx.size()))
|
||||
throw m::NOT_FOUND
|
||||
{
|
||||
"Only %zu/%zu for %s found in database",
|
||||
|
|
Loading…
Reference in a new issue