diff options
author | louiz’ <louiz@louiz.org> | 2018-08-23 20:31:31 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2018-08-23 20:31:31 +0200 |
commit | b1564e4ddc3e54ad78788a6f5643056d03a41678 (patch) | |
tree | 026958b802d90fa93741e6b7e539fd03ce7599de /src/xmpp/biboumi_component.cpp | |
parent | 0b51e3828116f6847865fae93893eb97a10d1cc2 (diff) | |
download | biboumi-b1564e4ddc3e54ad78788a6f5643056d03a41678.tar.gz biboumi-b1564e4ddc3e54ad78788a6f5643056d03a41678.tar.bz2 biboumi-b1564e4ddc3e54ad78788a6f5643056d03a41678.tar.xz biboumi-b1564e4ddc3e54ad78788a6f5643056d03a41678.zip |
Fix a bunch of int to unsigned int conversion warnings
Diffstat (limited to 'src/xmpp/biboumi_component.cpp')
-rw-r--r-- | src/xmpp/biboumi_component.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/biboumi_component.cpp b/src/xmpp/biboumi_component.cpp index fa10932..6add068 100644 --- a/src/xmpp/biboumi_component.cpp +++ b/src/xmpp/biboumi_component.cpp @@ -762,7 +762,7 @@ bool BiboumiComponent::handle_mam_request(const Stanza& stanza) if (limit < 0 || limit > 100) limit = 100; auto result = Database::get_muc_logs(from.bare(), iid.get_local(), iid.get_server(), - limit, + static_cast<std::size_t>(limit), start, end, reference_record_id, paging_order); bool complete = std::get<bool>(result); |