From 098ef26c87b27ddac5eb41f1317fe552fe16e3a7 Mon Sep 17 00:00:00 2001 From: laforge Date: Sun, 11 Sep 2005 19:59:58 +0000 Subject: use 64bit timeout values throughout the code, since some timeouts exceeds 4.8 billion microseconds (seconds). git-svn-id: https://svn.gnumonks.org/trunk/librfid@1426 e0336214-984f-0b4b-a45f-81c69e1f0ede --- include/rfid/rfid_asic_rc632.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/rfid/rfid_asic_rc632.h') diff --git a/include/rfid/rfid_asic_rc632.h b/include/rfid/rfid_asic_rc632.h index 94345eb..13279a8 100644 --- a/include/rfid/rfid_asic_rc632.h +++ b/include/rfid/rfid_asic_rc632.h @@ -37,7 +37,7 @@ struct rfid_asic_rc632 { unsigned int tx_len, unsigned char *rx_buf, unsigned int *rx_len, - unsigned int timeout, + u_int64_t timeout, unsigned int flags); struct { int (*init)(struct rfid_asic_handle *h); @@ -109,13 +109,13 @@ rc632_power_down(struct rfid_asic_handle *handle); int -rc632_wait_idle(struct rfid_asic_handle *handle, unsigned int time); +rc632_wait_idle(struct rfid_asic_handle *handle, u_int64_t time); int rc632_transmit(struct rfid_asic_handle *handle, const unsigned char *buf, unsigned char len, - unsigned int timeout); + u_int64_t timeout); int rc632_transcieve(struct rfid_asic_handle *handle, -- cgit v1.2.3