Fix format error in logs 09/194709/1 accepted/tizen/5.0/unified/20181210.060013 submit/tizen_5.0/20181207.021822
authorjiyong.min <jiyong.min@samsung.com>
Fri, 7 Dec 2018 04:42:39 +0000 (13:42 +0900)
committerJiyong Min <jiyong.min@samsung.com>
Fri, 7 Dec 2018 04:52:54 +0000 (04:52 +0000)
Change-Id: Ia8517e01f40e59fe4c234b0c354a9181fb486b92

gif/mm_util_gif.c
imgp/mm_util_imgp.c

index 51691d6837e9b180b37318eda6dde9755c1e2868..d57b77e19d9db2bdef66dd8f8f2a2f85f935c39b 100755 (executable)
@@ -502,7 +502,7 @@ int _gif_encode_move_to_mem(const unsigned char *src, size_t src_size, void **ds
        mm_util_retvm_if(src == NULL || dst == NULL || dst_size == NULL, MM_UTIL_ERROR_INVALID_PARAMETER, "Invalid parameter");
        mm_util_retvm_if(src_size == 0, MM_UTIL_ERROR_INVALID_PARAMETER, "Invalid parameter");
 
-       mm_util_debug("src_size: %u", src_size);
+       mm_util_debug("src_size: %zu", src_size);
 
        buffer = (unsigned char *)calloc(1, src_size);
        mm_util_retvm_if(buffer == NULL, MM_UTIL_ERROR_OUT_OF_MEMORY, "memory allocation failed");
index 6f8088aa9ee9e805ef7a268a22c0423e9e934d66..c1e53c5dddda5f31a9d34fcc880160d310a7c15f 100755 (executable)
@@ -281,7 +281,7 @@ static int __mm_util_get_crop_image_size(mm_util_color_format_e format, unsigned
                return MM_UTIL_ERROR_NOT_SUPPORTED_FORMAT;
        }
 
-       mm_util_debug("format: %d, *imgsize: %d", format, *imgsize);
+       mm_util_debug("format: %d, *imgsize: %zu", format, *imgsize);
 
        return ret;
 }
@@ -1337,7 +1337,7 @@ int mm_util_get_image_size(mm_util_color_format_e format, unsigned int width, un
                return MM_UTIL_ERROR_NOT_SUPPORTED_FORMAT;
        }
 
-       mm_util_debug("format: %u, *imgsize: %u", format, *imgsize);
+       mm_util_debug("format: %u, *imgsize: %zu", format, *imgsize);
 
        return ret;
 }