From 1f3c847d38969550c238978ef4d0101f22a448d0 Mon Sep 17 00:00:00 2001 From: Marshall Laszlo Toth <1866861+tolacika@users.noreply.github.com> Date: Fri, 3 May 2024 22:47:57 +0000 Subject: [PATCH] fixed warning of integer comparsion --- src/PubSubClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PubSubClient.cpp b/src/PubSubClient.cpp index 2b48d2b6..25e74257 100755 --- a/src/PubSubClient.cpp +++ b/src/PubSubClient.cpp @@ -484,7 +484,7 @@ boolean PubSubClient::publish_P(const char* topic, const uint8_t* payload, unsig unsigned int i; uint8_t header; unsigned int len; - int expectedLength; + unsigned int expectedLength; if (!connected()) { return false;