mirror of
https://github.com/matrix-construct/construct
synced 2024-11-20 08:51:18 +01:00
ircd:Ⓜ️ Fix narrowing conversion.
This commit is contained in:
parent
dc5ac7c2ac
commit
d8b14ade58
1 changed files with 4 additions and 4 deletions
|
@ -986,9 +986,9 @@ ircd::m::events::rfor_each(const uint64_t &start,
|
||||||
const event_filter &filter,
|
const event_filter &filter,
|
||||||
const closure_bool &closure)
|
const closure_bool &closure)
|
||||||
{
|
{
|
||||||
uint limit
|
auto limit
|
||||||
{
|
{
|
||||||
json::get<"limit"_>(filter)?: 32U
|
json::get<"limit"_>(filter)?: 32L
|
||||||
};
|
};
|
||||||
|
|
||||||
return rfor_each(start, [&filter, &closure, &limit]
|
return rfor_each(start, [&filter, &closure, &limit]
|
||||||
|
@ -1060,9 +1060,9 @@ ircd::m::events::for_each(const uint64_t &start,
|
||||||
const event_filter &filter,
|
const event_filter &filter,
|
||||||
const closure_bool &closure)
|
const closure_bool &closure)
|
||||||
{
|
{
|
||||||
uint limit
|
auto limit
|
||||||
{
|
{
|
||||||
json::get<"limit"_>(filter)?: 32U
|
json::get<"limit"_>(filter)?: 32L
|
||||||
};
|
};
|
||||||
|
|
||||||
return for_each(start, [&filter, &closure, &limit]
|
return for_each(start, [&filter, &closure, &limit]
|
||||||
|
|
Loading…
Reference in a new issue