mirror of https://github.com/ARMmbed/mbed-os.git
Update connectivity/libraries/ppp/source/ppp_service.cpp
Co-authored-by: Kevin Bracey <kevin.bracey@arm.com>pull/13476/head
parent
2b4268ac16
commit
6bf4dda279
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue