OSDN Git Service

tools: iio: iio_generic_buffer: make num_loops signed
[tomoyo/tomoyo-test1.git] / tools / iio / iio_generic_buffer.c
index 3040830..8454566 100644 (file)
@@ -330,7 +330,7 @@ static const struct option longopts[] = {
 
 int main(int argc, char **argv)
 {
-       unsigned long long num_loops = 2;
+       long long num_loops = 2;
        unsigned long timedelay = 1000000;
        unsigned long buf_len = 128;