summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-10-20 01:22:12 +0200
committerSven Gothel <[email protected]>2020-10-20 01:22:12 +0200
commit2e40a6fbb84ef21bb9551c653199964e55d7954b (patch)
tree3ca50378891898289e42f63bad15d753a5c6fc4e /src
parent68b68fe2309f5c9a678540e03fd8e28695653d7a (diff)
adopt to ringbuffer::getSize() -> size_t changes
Diffstat (limited to 'src')
-rw-r--r--src/direct_bt/DBTManager.cpp2
-rw-r--r--src/direct_bt/GATTHandler.cpp2
-rw-r--r--src/direct_bt/HCIHandler.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/direct_bt/DBTManager.cpp b/src/direct_bt/DBTManager.cpp
index 724004f7..8cf6a31e 100644
--- a/src/direct_bt/DBTManager.cpp
+++ b/src/direct_bt/DBTManager.cpp
@@ -125,7 +125,7 @@ void DBTManager::mgmtReaderThreadImpl() noexcept {
}
{
const std::lock_guard<std::mutex> lock(mtx_mgmtReaderLifecycle); // RAII-style acquire and relinquish via destructor
- WORDY_PRINT("DBTManager::reader: Ended. Ring has %d entries flushed", mgmtEventRing.getSize());
+ WORDY_PRINT("DBTManager::reader: Ended. Ring has %zu entries flushed", mgmtEventRing.getSize());
mgmtEventRing.clear();
mgmtReaderRunning = false;
cv_mgmtReaderInit.notify_all();
diff --git a/src/direct_bt/GATTHandler.cpp b/src/direct_bt/GATTHandler.cpp
index 25af8b40..087814c6 100644
--- a/src/direct_bt/GATTHandler.cpp
+++ b/src/direct_bt/GATTHandler.cpp
@@ -269,7 +269,7 @@ void GATTHandler::l2capReaderThreadImpl() {
}
{
const std::lock_guard<std::mutex> lock(mtx_l2capReaderLifecycle); // RAII-style acquire and relinquish via destructor
- WORDY_PRINT("GATTHandler::reader: Ended. Ring has %d entries flushed", attPDURing.getSize());
+ WORDY_PRINT("GATTHandler::reader: Ended. Ring has %zu entries flushed", attPDURing.getSize());
attPDURing.clear();
l2capReaderRunning = false;
cv_l2capReaderInit.notify_all();
diff --git a/src/direct_bt/HCIHandler.cpp b/src/direct_bt/HCIHandler.cpp
index 485e116f..750386d4 100644
--- a/src/direct_bt/HCIHandler.cpp
+++ b/src/direct_bt/HCIHandler.cpp
@@ -322,7 +322,7 @@ void HCIHandler::hciReaderThreadImpl() noexcept {
}
{
const std::lock_guard<std::mutex> lock(mtx_hciReaderLifecycle); // RAII-style acquire and relinquish via destructor
- WORDY_PRINT("HCIHandler::reader: Ended. Ring has %d entries flushed", hciEventRing.getSize());
+ WORDY_PRINT("HCIHandler::reader: Ended. Ring has %zu entries flushed", hciEventRing.getSize());
hciEventRing.clear();
hciReaderRunning = false;
cv_hciReaderInit.notify_all();