knolleary / pubsubclient

A client library for the Arduino Ethernet Shield that provides support for MQTT.
http://pubsubclient.knolleary.net/
MIT License
3.78k stars 1.46k forks source link

compiler warning #705

Open olonsoft opened 4 years ago

olonsoft commented 4 years ago

Not a big issue, but compiling with platformio there is a warning: PubSubClient.cpp:464:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return (rc == expectedLength); ^ expectedLength should be declared as unsigned int too.

XNinety9 commented 4 years ago

I got this one too