Skip to content

Commit

Permalink
tools: iio: iio_generic_buffer: fix types to match
Browse files Browse the repository at this point in the history
Several types are mismatched and causing implicit conversions.  Fix them
up so the types match.

Signed-off-by: Martin Kelly <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
  • Loading branch information
Martin Kelly authored and jic23 committed May 20, 2018
1 parent be3be78 commit 71b52d2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/iio/iio_generic_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 71b52d2

Please sign in to comment.