We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b4268a commit 6bf4ddaCopy full SHA for 6bf4dda
connectivity/drivers/cellular/UBLOX/AT/UBLOX_AT_CellularStack.cpp
@@ -371,7 +371,7 @@ UBLOX_AT_CellularStack::CellularSocket *UBLOX_AT_CellularStack::find_socket(int
371
{
372
CellularSocket *socket = NULL;
373
374
- 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++) {
375
if (_socket) {
376
if (_socket[x]->id == id) {
377
socket = (_socket[x]);
0 commit comments