mirror of
https://github.com/matrix-construct/construct
synced 2024-11-12 13:01:07 +01:00
ircd:Ⓜ️:room::head: Fix signed unsigned integer comparison.
This commit is contained in:
parent
27a015b9dc
commit
8474cf761c
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ try
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(limit >= 0);
|
assert(limit >= 0);
|
||||||
if(unlikely(opts.limit && limit == opts.limit))
|
if(unlikely(opts.limit && size_t(limit) == opts.limit))
|
||||||
throw error
|
throw error
|
||||||
{
|
{
|
||||||
"Failed to find any events at the room head"
|
"Failed to find any events at the room head"
|
||||||
|
|
Loading…
Reference in a new issue