Fix format error in logs 80/194680/1 accepted/tizen/unified/20181210.060042 submit/tizen/20181207.051909
authorjiyong.min <jiyong.min@samsung.com>
Fri, 7 Dec 2018 03:34:24 +0000 (12:34 +0900)
committerjiyong.min <jiyong.min@samsung.com>
Fri, 7 Dec 2018 03:34:24 +0000 (12:34 +0900)
Change-Id: Iec57c08031bdd082eaa0d0259eaf3b8772596406

gstcs/mm_util_gstcs.c

index 23fa8ab..fb83b26 100755 (executable)
@@ -46,7 +46,7 @@ _mm_sink_sample(GstElement * appsink, gpointer user_data)
                if (pGstreamer_s->output_buffer != NULL) {
                        GstMapInfo mapinfo = GST_MAP_INFO_INIT;
                        gst_buffer_map(pGstreamer_s->output_buffer, &mapinfo, GST_MAP_READ);
-                       gstcs_debug("Create Output Buffer: GST_BUFFER_DATA: %p\t GST_BUFFER_SIZE: %d", mapinfo.data, mapinfo.size);
+                       gstcs_debug("Create Output Buffer: GST_BUFFER_DATA: %p\t GST_BUFFER_SIZE: %zu", mapinfo.data, mapinfo.size);
                        gst_buffer_unmap(pGstreamer_s->output_buffer, &mapinfo);
                } else {
                        gstcs_error("ERROR -Input Prepare Buffer! Check createoutput buffer function");
@@ -367,7 +367,7 @@ static size_t _mm_setup_image_size(mm_util_color_format_e color_format, unsigned
        }
 
 
-       gstcs_debug("Image size [%u]", size);
+       gstcs_debug("Image size [%zu]", size);
 
        return size;
 }