Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment