0
0
Fork 0
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:
Jason Volk 2018-02-20 15:00:22 -08:00
parent 754a9366fb
commit 198aea3e8f

View file

@ -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;