[aravis] tests: fix printf format specifier



commit 722482fbed36bfeeebf2c80ef2ab0213a2167782
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Tue Aug 19 19:23:51 2014 +0200

    tests: fix printf format specifier

 tests/arvcameratest.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/arvcameratest.c b/tests/arvcameratest.c
index 8db19e0..f42aa12 100644
--- a/tests/arvcameratest.c
+++ b/tests/arvcameratest.c
@@ -124,7 +124,7 @@ new_buffer_cb (ArvStream *stream, ApplicationData *data)
                        int i;
 
                        for (i = 0; data->chunks[i] != NULL; i++)
-                               printf ("%s = %d\n", data->chunks[i],
+                               printf ("%s = %" G_GINT64_FORMAT "\n", data->chunks[i],
                                        arv_chunk_parser_get_integer_value (data->chunk_parser, buffer, 
data->chunks[i]));
                }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]