Update connectivity/libraries/ppp/source/ppp_service.cpp

Co-authored-by: Kevin Bracey <kevin.bracey@arm.com>
pull/13476/head
talorion 2020-08-27 21:12:56 +02:00
parent 2b4268ac16
commit 6bf4dda279
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 (intptr_t x = 0; (socket == NULL) && (x < _device.get_property(AT_CellularDevice::PROPERTY_SOCKET_COUNT)); x++) {
for (ptrdiff_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]);