summaryrefslogtreecommitdiff
path: root/src/ccid
diff options
context:
space:
mode:
authorploetz <ploetz@e0336214-984f-0b4b-a45f-81c69e1f0ede>2007-03-20 00:16:22 +0000
committerploetz <ploetz@e0336214-984f-0b4b-a45f-81c69e1f0ede>2007-03-20 00:16:22 +0000
commit9a8dbae5c77a0277a8c52610ebb113bf3a151a1d (patch)
tree319b38ba0c861a49e2a140d5010b5277fb0c488e /src/ccid
parent1c1b42a7c2eb13306999d18bed4a7f1f7b89fd1b (diff)
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
Diffstat (limited to 'src/ccid')
-rw-r--r--src/ccid/rfid_reader_cm5121_ccid_direct.c4
1 files changed, 2 insertions, 2 deletions
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;
personal git repositories of Harald Welte. Your mileage may vary