From 73cc1f916c09d0c8976787e690a539b33974cf74 Mon Sep 17 00:00:00 2001 From: MyungJoo Ham Date: Tue, 3 Jul 2018 10:21:56 +0900 Subject: [PATCH] [Sink] Support 32bit systems. Use %zd for size_t Fixes #200 Signed-off-by: MyungJoo Ham --- gst/tensor_sink/test/unittest_sink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/tensor_sink/test/unittest_sink.cpp b/gst/tensor_sink/test/unittest_sink.cpp index 7d028ff..206d4f6 100644 --- a/gst/tensor_sink/test/unittest_sink.cpp +++ b/gst/tensor_sink/test/unittest_sink.cpp @@ -141,7 +141,7 @@ _new_data_cb (GstElement * element, GstBuffer * buffer, gpointer user_data) if (gst_memory_map (mem, &info, GST_MAP_READ)) { /* check data (info.data, info.size) */ - _print_log ("received %ld", info.size); + _print_log ("received %zd", info.size); gst_memory_unmap (mem, &info); } -- 2.7.4