fix bad cast done in last revision.
This commit is contained in:
parent
642f9a38f7
commit
601105ef79
6 changed files with 26 additions and 16 deletions
|
|
@ -47,7 +47,7 @@ nfc_emulate_target (nfc_device *pnd, struct nfc_emulator *emulator)
|
|||
}
|
||||
}
|
||||
if (res >= 0) {
|
||||
if ((int) ((szRx = (size_t) nfc_target_receive_bytes(pnd, abtRx, 0))) < 0) {
|
||||
if ((res = nfc_target_receive_bytes(pnd, abtRx, 0)) < 0) {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue