]> sigrok.org Git - libsigrok.git/commitdiff
beaglelogic: Drop unneeded uint64_t cast.
authorUwe Hermann <redacted>
Tue, 20 Feb 2018 19:01:55 +0000 (20:01 +0100)
committerUwe Hermann <redacted>
Tue, 20 Feb 2018 19:03:21 +0000 (20:03 +0100)
src/hardware/beaglelogic/api.c

index 2ad649ebad416dc1d32b883e808c9f87c62e9d24..92a6e49664112f5c89396d8812cd2fad38f40d3e 100644 (file)
@@ -109,7 +109,7 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options)
 
        /* Default non-zero values (if any) */
        devc->fd = -1;
-       devc->limit_samples = (uint64_t)10000000;
+       devc->limit_samples = 10000000;
        devc->tcp_buffer = 0;
 
        if (!conn) {