mirror of
https://github.com/matrix-construct/construct
synced 2024-06-02 10:08:56 +02:00
ircd::rfc1035: Cast to unsigned.
This commit is contained in:
parent
d394cd4d18
commit
47e2f92eda
|
@ -447,7 +447,7 @@ ircd::rfc1035::make_name(const mutable_buffer &out,
|
|||
{
|
||||
pos,
|
||||
tolower(labelbuf, label),
|
||||
std::distance(pos, end(out))
|
||||
size_t(std::max(std::distance(pos, end(out)), 0L)),
|
||||
};
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue