From 9a8dbae5c77a0277a8c52610ebb113bf3a151a1d Mon Sep 17 00:00:00 2001 From: ploetz Date: Tue, 20 Mar 2007 00:16:22 +0000 Subject: unsigned int -> size_t in some appropriate places. Fixes segfaults on x86_64 git-svn-id: https://svn.gnumonks.org/trunk/librfid@1984 e0336214-984f-0b4b-a45f-81c69e1f0ede --- include/librfid/rfid_reader_cm5121.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/librfid/rfid_reader_cm5121.h b/include/librfid/rfid_reader_cm5121.h index 5a1b7c3..e3e64c0 100644 --- a/include/librfid/rfid_reader_cm5121.h +++ b/include/librfid/rfid_reader_cm5121.h @@ -13,8 +13,8 @@ extern int PC_to_RDR_Escape(void *handle, - const unsigned char *tx_buf, unsigned int tx_len, - unsigned char *rx_buf, unsigned int *rx_len); + const unsigned char *tx_buf, size_t tx_len, + unsigned char *rx_buf, size_t *rx_len); extern const struct rfid_reader rfid_reader_cm5121; // extern struct rfid_asic_transport cm5121_ccid; -- cgit v1.2.3