diff options
author | ploetz <ploetz@e0336214-984f-0b4b-a45f-81c69e1f0ede> | 2007-03-20 00:16:22 +0000 |
---|---|---|
committer | ploetz <ploetz@e0336214-984f-0b4b-a45f-81c69e1f0ede> | 2007-03-20 00:16:22 +0000 |
commit | 9a8dbae5c77a0277a8c52610ebb113bf3a151a1d (patch) | |
tree | 319b38ba0c861a49e2a140d5010b5277fb0c488e /src/rfid_reader_cm5121_openct.c | |
parent | 1c1b42a7c2eb13306999d18bed4a7f1f7b89fd1b (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/rfid_reader_cm5121_openct.c')
-rw-r--r-- | src/rfid_reader_cm5121_openct.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rfid_reader_cm5121_openct.c b/src/rfid_reader_cm5121_openct.c index 801f076..244ecee 100644 --- a/src/rfid_reader_cm5121_openct.c +++ b/src/rfid_reader_cm5121_openct.c @@ -13,8 +13,8 @@ static int slot = 1; /* 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; ct_handle *h = (ct_handle *) handle; |