Skip to content

Commit 6bf4dda

Browse files
talorionkjbracey
andcommitted
Update connectivity/libraries/ppp/source/ppp_service.cpp
Co-authored-by: Kevin Bracey <kevin.bracey@arm.com>
1 parent 2b4268a commit 6bf4dda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connectivity/drivers/cellular/UBLOX/AT/UBLOX_AT_CellularStack.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ UBLOX_AT_CellularStack::CellularSocket *UBLOX_AT_CellularStack::find_socket(int
371371
{
372372
CellularSocket *socket = NULL;
373373

374-
for (intptr_t x = 0; (socket == NULL) && (x < _device.get_property(AT_CellularDevice::PROPERTY_SOCKET_COUNT)); x++) {
374+
for (ptrdiff_t x = 0; (socket == NULL) && (x < _device.get_property(AT_CellularDevice::PROPERTY_SOCKET_COUNT)); x++) {
375375
if (_socket) {
376376
if (_socket[x]->id == id) {
377377
socket = (_socket[x]);

0 commit comments

Comments
 (0)