Fix a bunch of int to unsigned int conversion warnings

This commit is contained in:
louiz’
2018-08-23 20:31:31 +02:00
parent 0b51e38281
commit b1564e4ddc
8 changed files with 28 additions and 28 deletions
+1 -1
View File
@@ -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);