summaryrefslogtreecommitdiff
path: root/src/xmpp/biboumi_component.cpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-08-23 20:31:31 +0200
committerlouiz’ <louiz@louiz.org>2018-08-23 20:31:31 +0200
commitb1564e4ddc3e54ad78788a6f5643056d03a41678 (patch)
tree026958b802d90fa93741e6b7e539fd03ce7599de /src/xmpp/biboumi_component.cpp
parent0b51e3828116f6847865fae93893eb97a10d1cc2 (diff)
downloadbiboumi-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.cpp2
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);