mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-07-21 03:01:49 +00:00
fix bad cast done in last revision.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user