summaryrefslogtreecommitdiffstats
path: root/src/direct_bt/BTGattHandler.cpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-05-05 10:10:18 +0200
committerSven Gothel <[email protected]>2022-05-05 10:10:18 +0200
commit9c4c81350696f0eb16dc5c04930669d24aaf279c (patch)
tree6fd4efe3d306cde5d3e4583050b76f0f210c1da0 /src/direct_bt/BTGattHandler.cpp
parentbcb69a16ba25efbe0212a556e7f9d59dffc4b9c2 (diff)
Use fraction_i64::to_ms() w/ PRIi64 in printf
Diffstat (limited to 'src/direct_bt/BTGattHandler.cpp')
-rw-r--r--src/direct_bt/BTGattHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/direct_bt/BTGattHandler.cpp b/src/direct_bt/BTGattHandler.cpp
index 2ff53048..156e1dde 100644
--- a/src/direct_bt/BTGattHandler.cpp
+++ b/src/direct_bt/BTGattHandler.cpp
@@ -750,7 +750,7 @@ std::unique_ptr<const AttPDUMsg> BTGattHandler::sendWithReply(const AttPDUMsg &
std::unique_ptr<const AttPDUMsg> res;
if( !attPDURing.getBlocking(res, timeout) || nullptr == res ) {
errno = ETIMEDOUT;
- ERR_PRINT("GATTHandler::sendWithReply: nullptr result (timeout %d): req %s to %s", timeout.to_ms(), msg.toString().c_str(), toString().c_str());
+ ERR_PRINT("GATTHandler::sendWithReply: nullptr result (timeout %" PRIi64 " ms): req %s to %s", timeout.to_ms(), msg.toString().c_str(), toString().c_str());
has_ioerror = true;
disconnect(true /* disconnect_device */, true /* ioerr_cause */);
return nullptr;