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 --- src/ccid/rfid_reader_cm5121_ccid_direct.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ccid') diff --git a/src/ccid/rfid_reader_cm5121_ccid_direct.c b/src/ccid/rfid_reader_cm5121_ccid_direct.c index 3327a08..9879ccf 100644 --- a/src/ccid/rfid_reader_cm5121_ccid_direct.c +++ b/src/ccid/rfid_reader_cm5121_ccid_direct.c @@ -14,8 +14,8 @@ /* this is the sole function required by rfid_reader_cm5121.c */ 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) { int rc; ccid_driver_t ch = handle; -- cgit v1.2.3