Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71b52d2c authored by Martin Kelly's avatar Martin Kelly Committed by Jonathan Cameron
Browse files

tools: iio: iio_generic_buffer: fix types to match



Several types are mismatched and causing implicit conversions.  Fix them
up so the types match.

Signed-off-by: default avatarMartin Kelly <mkelly@xevo.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent be3be781
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -334,7 +334,10 @@ int main(int argc, char **argv)
	unsigned long timedelay = 1000000;
	unsigned long buf_len = 128;

	int ret, c, i, j, toread;
	ssize_t i;
	unsigned long j;
	unsigned long toread;
	int ret, c;
	int fp = -1;

	int num_channels = 0;