fix invalid format argument types for dlog 28/135128/1 accepted/tizen/unified/20170630.083303 submit/tizen/20170621.064821 submit/tizen/20170622.044226
authorHaejeong Kim <backto.kim@samsung.com>
Wed, 21 Jun 2017 04:58:41 +0000 (13:58 +0900)
committerHaejeong Kim <backto.kim@samsung.com>
Wed, 21 Jun 2017 04:58:41 +0000 (13:58 +0900)
Change-Id: I7312c1e6823cf1f5586d511d0effa8622ebfed4f

libdcm-face/dcm-face.c
libdcm-face/dcm-face_mediavision.c

index 1e7855029ee1e39b72c2ac23368186dad899c204..850cd838a9cc6f0147d2b8c95c5702abca93c829 100755 (executable)
@@ -45,7 +45,7 @@ EXPORT_API int dcm_face_create(__inout dcm_face_h *handle)
 
        *handle = pFaceHandle;
 
-       dcm_info("face created. handle=0x%08x", *handle);
+       dcm_info("face created. handle=%p", *handle);
 
        return ret;
 }
@@ -53,7 +53,7 @@ EXPORT_API int dcm_face_create(__inout dcm_face_h *handle)
 EXPORT_API int dcm_face_destroy(__in dcm_face_h handle)
 {
        int ret = MS_MEDIA_ERR_NONE;
-       dcm_info("face destroy. handle=0x%08x", handle);
+       dcm_info("face destroy. handle=%p", handle);
 
        dcm_retvm_if(handle == NULL, MS_MEDIA_ERR_INVALID_PARAMETER, "Invalid handle");
 
index 0422f1282715c5d6677e6df575f1e40a3cbdefee..a2a90bc37eb219d1ca19ec2b8a2adfc71cd39949 100755 (executable)
@@ -155,7 +155,7 @@ int _face_handle_create(__inout void **handle)
 
        *handle = _handle;
 
-       dcm_info("dcm_face_engine was created. handle=0x%08x", *handle);
+       dcm_info("dcm_face_engine was created. handle=%p", *handle);
 
        return MS_MEDIA_ERR_NONE;
 }
@@ -168,7 +168,7 @@ int _face_handle_destroy(__in void *handle)
 
        dcm_retvm_if(_handle == NULL, MS_MEDIA_ERR_INVALID_PARAMETER, "invalid handle");
 
-       dcm_info("dcm_face_engine destroy. handle=0x%08x", handle);
+       dcm_info("dcm_face_engine destroy. handle=%p", handle);
 
        if (_handle->cfg != NULL) {
                err = mv_destroy_engine_config(_handle->cfg);
@@ -205,7 +205,7 @@ int _face_detect_faces(__in dcm_face_h handle, __out face_rect_s *face_rect[], _
 
        __convert_to_mv_colorspace_e(handle->image_info->colorspace, &colorspace);
 
-       dcm_debug("face_detect image: %p, size: %d, width: %d, height: %d, color: %d", handle->image_info->data, handle->image_info->size, handle->image_info->width, handle->image_info->height, colorspace);
+       dcm_debug("face_detect image: %p, size: %llu, width: %d, height: %d, color: %d", handle->image_info->data, handle->image_info->size, handle->image_info->width, handle->image_info->height, colorspace);
 
        err = mv_source_fill_by_buffer(_fengine->source, handle->image_info->data, (unsigned int)(handle->image_info->size), handle->image_info->width, handle->image_info->height, colorspace);
        if (err != MEDIA_VISION_ERROR_NONE) {