Skip to content

Commit e931c90

Browse files
committed
fixed integer casting issue
1 parent 0adacaa commit e931c90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MQTTClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ bool MQTTClient::loop() {
465465
}
466466

467467
// get available bytes on the network
468-
auto available = (size_t)this->netClient->available();
468+
int available = this->netClient->available();
469469

470470
// yield if data is available
471471
if (available > 0) {

0 commit comments

Comments
 (0)