From 115ef29384296e97478bdf6f2a7fa8f2fa753f28 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 26 Dec 2023 08:28:23 +0100 Subject: [PATCH] better loop variable --- src/lib/ebus/device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ebus/device.cpp b/src/lib/ebus/device.cpp index 2e6ac88a8..0fd83b0bf 100755 --- a/src/lib/ebus/device.cpp +++ b/src/lib/ebus/device.cpp @@ -556,7 +556,7 @@ void EnhancedCharDevice::notifyInfoRetrieved() { case 0x0302: stream << (id == 1 ? "ID" : "config"); stream << hex << setfill('0'); - for (uint8_t pos = 0; pos < len; pos++) { + for (size_t pos = 0; pos < len; pos++) { stream << " " << setw(2) << static_cast(data[pos]); } if (id == 2 && (data[2]&0x3f) != 0x3f) {