use 64bit timeout values throughout the code, since some timeouts exceeds 4.8 billion...
[librfid] / rfid_layer2.c
index aa3b767..ef59bad 100644 (file)
@@ -48,7 +48,7 @@ int
 rfid_layer2_transcieve(struct rfid_layer2_handle *ph,
                         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 ph->l2->fn.transcieve(ph, tx_buf, len, rx_buf, rx_len,
                                        timeout, flags);