fixed warnings: comparison of integer expressions of different signedness

pull/13476/head
talorion 2020-08-21 20:14:16 +02:00 committed by Gregor Mayramhof
parent accadee274
commit ca74659780
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ UBLOX_AT_CellularStack::CellularSocket *UBLOX_AT_CellularStack::find_socket(int
{
CellularSocket *socket = NULL;
for (unsigned int x = 0; (socket == NULL) && (x < _device.get_property(AT_CellularDevice::PROPERTY_SOCKET_COUNT)); x++) {
for (intptr_t x = 0; (socket == NULL) && (x < _device.get_property(AT_CellularDevice::PROPERTY_SOCKET_COUNT)); x++) {
if (_socket) {
if (_socket[x]->id == id) {
socket = (_socket[x]);