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

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
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment