[query] Fix client_id type to long long in query_serversink
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Wed, 14 Sep 2022 06:21:13 +0000 (15:21 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Wed, 14 Sep 2022 09:45:01 +0000 (18:45 +0900)
- Fix client_id type to long long in query_serversink.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
gst/nnstreamer/tensor_query/tensor_query_serversink.c

index 08206e1..e7149e2 100644 (file)
@@ -271,7 +271,7 @@ gst_tensor_query_serversink_render (GstBaseSink * bsink, GstBuffer * buf)
       nns_edge_data_add (data_h, map[i].data, map[i].size, NULL);
     }
 
-    val = g_strdup_printf ("%ld", (long int) meta_query->client_id);
+    val = g_strdup_printf ("%lld", (long long) meta_query->client_id);
     nns_edge_data_set_info (data_h, "client_id", val);
     g_free (val);