use 64bit timeout values throughout the code, since some timeouts exceeds 4.8 billion...
[librfid] / rfid_reader.c
index b39e0f8..61081bc 100644 (file)
@@ -42,7 +42,7 @@ int
 rfid_reader_transcieve(struct rfid_reader_handle *rh,
                         const unsigned char *tx_buf, unsigned int len,
                         unsigned char *rx_buf, unsigned int *rx_len,
-                        unsigned int timeout, unsigned int flags)
+                        u_int64_t timeout, unsigned int flags)
 {
        return rh->reader->transcieve(rh, tx_buf, len, rx_buf, rx_len,
                                        timeout, flags);