diff --git a/libnfc/nfc.c b/libnfc/nfc.c index 4fda208..6df6c7b 100644 --- a/libnfc/nfc.c +++ b/libnfc/nfc.c @@ -409,7 +409,7 @@ nfc_initiator_list_passive_targets (nfc_device_t * pnd, if (szTargets == szTargetFound) { break; } - int i; + size_t i; bool seen = false; // Check if we've already seen this tag for (i = 0; i < szTargetFound; i++) {