From 5f5de66d1049ef6cee8e4d0166b147275b19c286 Mon Sep 17 00:00:00 2001 From: laforge Date: Sat, 24 May 2008 13:46:39 +0000 Subject: fix compiler warnings git-svn-id: https://svn.gnumonks.org/trunk/librfid@2107 e0336214-984f-0b4b-a45f-81c69e1f0ede --- src/rfid_layer2_iso15693.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.3