summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rfid_asic_rc632.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rfid_asic_rc632.c b/src/rfid_asic_rc632.c
index ac3df2c..39e1273 100644
--- a/src/rfid_asic_rc632.c
+++ b/src/rfid_asic_rc632.c
@@ -758,7 +758,7 @@ rc632_iso14443a_transceive_sf(struct rfid_asic_handle *handle,
u_int8_t tx_buf[1];
u_int8_t rx_len = 2;
- memset(atqa, 0, sizeof(atqa));
+ memset(atqa, 0, sizeof(*atqa));
tx_buf[0] = cmd;
personal git repositories of Harald Welte. Your mileage may vary