diff options
author | Sven Gothel <[email protected]> | 2020-10-17 01:56:35 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-10-17 01:56:35 +0200 |
commit | aa1da4819775406e1ce6fdfab59166ebca1c47d7 (patch) | |
tree | bb8904801c8ffba4e1d2f4d18ac7007a7cedf0b2 /examples | |
parent | bb84b7ddeb10ed5957f746cf28da606aea4eaa46 (diff) |
dbt_scanner10: Fix Warnings
Diffstat (limited to 'examples')
-rw-r--r-- | examples/direct_bt_scanner10/dbt_scanner10.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/direct_bt_scanner10/dbt_scanner10.cpp b/examples/direct_bt_scanner10/dbt_scanner10.cpp index a1dbf9a7..49195865 100644 --- a/examples/direct_bt_scanner10/dbt_scanner10.cpp +++ b/examples/direct_bt_scanner10/dbt_scanner10.cpp @@ -455,7 +455,7 @@ exit: device->getAdapter().printSharedPtrListOfDevices(); } - fprintf(stderr, "****** Processing Device: End: Success %d on %s; devInProc %zd\n", + fprintf(stderr, "****** Processing Device: End: Success %d on %s; devInProc %zu\n", success, device->toString().c_str(), getDeviceProcessingCount()); if( success ) { @@ -545,7 +545,7 @@ void test(int dev_id) { ( -1 == MULTI_MEASUREMENTS && !waitForDevices.empty() && allDevicesProcessed(waitForDevices) ) ) { - fprintf(stderr, "****** EOL Test MULTI_MEASUREMENTS left %d, processed %zd/%zd\n", + fprintf(stderr, "****** EOL Test MULTI_MEASUREMENTS left %d, processed %zu/%zu\n", MULTI_MEASUREMENTS.load(), getDeviceProcessedCount(), waitForDevices.size()); printList("****** WaitForDevice ", waitForDevices); printDevicesProcessed("****** DevicesProcessed "); |