mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 08:42:34 +01:00
ircd:Ⓜ️ Fix warning from 329b1dc5
.
This commit is contained in:
parent
754a9366fb
commit
198aea3e8f
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ ircd::m::head(const id::room &room_id,
|
|||
head(std::nothrow, room_id, reinterpret_cast<int64_t &>(depth))
|
||||
};
|
||||
|
||||
if(depth == -1)
|
||||
if(depth == uint64_t(-1))
|
||||
throw m::NOT_FOUND{};
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue