cast explicitly sz (uint8_t) in size_t

This commit is contained in:
Romuald Conty 2011-05-02 16:43:03 +00:00
parent 517cde2517
commit 96358368f5

View file

@ -1380,8 +1380,8 @@ 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;
for (i=0; i< sz; i++) {
*pszRx = (size_t)(sz);
for (i=0; i<sz; i++) {
pn53x_read_register (pnd, REG_CIU_FIFODATA, &(pbtRx[i]));
}