0
0
Fork 0
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:
Jason Volk 2022-10-05 13:20:36 -07:00
parent c0f0398b45
commit 4549f44f08

View file

@ -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",