From: Jeongmo Yang Date: Fri, 7 Dec 2018 06:48:33 +0000 (+0900) Subject: Fix invalid format usage X-Git-Tag: submit/tizen/20181207.091640^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F69%2F194769%2F1;p=platform%2Fcore%2Fapi%2Fcamera.git Fix invalid format usage [Version] 0.4.18 [Profile] Common [Issue Type] Bug fix [Dependency module] N/A Change-Id: Id5ce4ad440817cc312009af9be42cf201824f632 Signed-off-by: Jeongmo Yang --- diff --git a/packaging/capi-media-camera.spec b/packaging/capi-media-camera.spec index 217cd19..aad94f0 100644 --- a/packaging/capi-media-camera.spec +++ b/packaging/capi-media-camera.spec @@ -1,6 +1,6 @@ Name: capi-media-camera Summary: A Camera API -Version: 0.4.17 +Version: 0.4.18 Release: 0 Group: Multimedia/API License: Apache-2.0 diff --git a/src/camera.c b/src/camera.c index 905d1d2..f0b5115 100644 --- a/src/camera.c +++ b/src/camera.c @@ -2442,7 +2442,7 @@ int camera_create(camera_device_e device, camera_h *camera) goto ErrorExit; } - LOGD("camera create 0x%x", pc->remote_handle); + LOGD("camera create 0x%lx", pc->remote_handle); *camera = (camera_h)pc; @@ -2960,7 +2960,7 @@ int camera_cancel_focusing(camera_h camera) return CAMERA_ERROR_INVALID_PARAMETER; } - LOGD("Enter, remote_handle : %x", pc->remote_handle); + LOGD("Enter, remote_handle : %lx", pc->remote_handle); _camera_msg_send(api, pc->cb_info, &ret, CAMERA_CB_TIMEOUT); @@ -4409,7 +4409,7 @@ int camera_attr_set_zoom(camera_h camera, int zoom) return CAMERA_ERROR_INVALID_PARAMETER; } - LOGD("Enter, remote_handle : %x", pc->remote_handle); + LOGD("Enter, remote_handle : %lx", pc->remote_handle); CAMERA_MSG_PARAM_SET(param, INT, zoom); @@ -4434,7 +4434,7 @@ int camera_attr_set_af_mode(camera_h camera, camera_attr_af_mode_e mode) return CAMERA_ERROR_INVALID_PARAMETER; } - LOGD("Enter, remote_handle : %x", pc->remote_handle); + LOGD("Enter, remote_handle : %lx", pc->remote_handle); CAMERA_MSG_PARAM_SET(param, INT, set_mode); @@ -4798,7 +4798,7 @@ int camera_attr_set_tag_software(camera_h camera, const char *software) return CAMERA_ERROR_INVALID_PARAMETER; } - LOGD("Enter, remote_handle : %x", pc->remote_handle); + LOGD("Enter, remote_handle : %lx", pc->remote_handle); CAMERA_MSG_PARAM_SET(param, STRING, software); @@ -5662,7 +5662,7 @@ int camera_attr_foreach_supported_fps(camera_h camera, camera_attr_supported_fps _camera_msg_send(api, pc->cb_info, &ret, CAMERA_CB_TIMEOUT); - LOGD("Enter, handle :%x", pc->remote_handle); + LOGD("Enter, handle :%lx", pc->remote_handle); return ret; }