cast explicitly sz (uint8_t) in size_t
This commit is contained in:
parent
517cde2517
commit
96358368f5
1 changed files with 3 additions and 3 deletions
|
@ -1380,7 +1380,7 @@ pn53x_initiator_transceive_bytes_timed (nfc_device_t * pnd, const byte_t * pbtTx
|
|||
|
||||
// Recv data
|
||||
pn53x_read_register (pnd, REG_CIU_FIFOLEVEL, &sz);
|
||||
*pszRx = sz & SYMBOL_FIFO_LEVEL;
|
||||
*pszRx = (size_t)(sz);
|
||||
for (i=0; i<sz; i++) {
|
||||
pn53x_read_register (pnd, REG_CIU_FIFODATA, &(pbtRx[i]));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue