summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2008-05-24 13:46:39 +0000
committerlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2008-05-24 13:46:39 +0000
commit5f5de66d1049ef6cee8e4d0166b147275b19c286 (patch)
tree3dd1dc7fe30f610a78059ddb67b9d2a024bb6a93 /src
parent544071c0f971da2826fdbf339a12383f9f3200ef (diff)
fix compiler warnings
git-svn-id: https://svn.gnumonks.org/trunk/librfid@2107 e0336214-984f-0b4b-a45f-81c69e1f0ede
Diffstat (limited to 'src')
-rw-r--r--src/rfid_layer2_iso15693.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rfid_layer2_iso15693.c b/src/rfid_layer2_iso15693.c
index 6f7ea2e..a4829cc 100644
--- a/src/rfid_layer2_iso15693.c
+++ b/src/rfid_layer2_iso15693.c
@@ -158,7 +158,7 @@ iso15693_read_block(struct rfid_layer2_handle *handle,
struct iso15693_response *rx_pkt;
struct iso15693_response_sec *rx_pkt_sec;
- rx_pkt_sec = (struct iso15693_response *)&resp[0];
+ rx_pkt_sec = (struct iso15693_response_sec *)&resp[0];
rx_pkt = (struct iso15693_response *)&resp[0];
rx_err = (struct iso15693_err_resp *)&resp[0];
@@ -410,7 +410,9 @@ start_of_ac_loop:
for (i = 0; i < num_slots; i++) {
rx_len = sizeof(resp);
memset(&resp, 0, rx_len);
- ret = iso15693_transceive_acf(handle, (u_int8_t *) &acf, tx_len, &resp, &rx_len, &boc);
+ ret = iso15693_transceive_acf(handle,
+ (struct iso15693_anticol_cmd *) &acf,
+ tx_len, &resp, &rx_len, &boc);
if (ret == -ETIMEDOUT) {
//DEBUGP("no answer from vicc in slot %d\n", i);
personal git repositories of Harald Welte. Your mileage may vary