Skip to content
Snippets Groups Projects
Commit 7dd5138b authored by Adrien Béraud's avatar Adrien Béraud
Browse files

misc: fix compilation warnings

Change-Id: I36869baf37ccd52d7204b6cd9f5a6c4e0c4a3a17
parent b680c1cb
No related branches found
No related tags found
No related merge requests found
...@@ -674,7 +674,7 @@ AccountManager::forEachDevice( ...@@ -674,7 +674,7 @@ AccountManager::forEachDevice(
void ended() void ended()
{ {
if (remaining == 0 && onEnd) { if (remaining == 0 && onEnd) {
JAMI_DBG("Found %lu devices", treatedDevices.size()); JAMI_DEBUG("Found {:d} devices", treatedDevices.size());
onEnd(not treatedDevices.empty()); onEnd(not treatedDevices.empty());
onDevice = {}; onDevice = {};
onEnd = {}; onEnd = {};
......
...@@ -577,7 +577,7 @@ ArchiveAccountManager::onSyncData(DeviceSync&& sync, bool checkDevice) ...@@ -577,7 +577,7 @@ ArchiveAccountManager::onSyncData(DeviceSync&& sync, bool checkDevice)
} }
// Sync known devices // Sync known devices
JAMI_DBG("[Contacts] received device sync data (%lu devices, %lu contacts)", JAMI_DEBUG("[Contacts] received device sync data ({:d} devices, {:d} contacts)",
sync.devices_known.size() + sync.devices.size(), sync.devices_known.size() + sync.devices.size(),
sync.peers.size()); sync.peers.size());
for (const auto& d : sync.devices_known) { for (const auto& d : sync.devices_known) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment