From f3e81edee3ecd2b81a42570ff14655b27a6cff0b Mon Sep 17 00:00:00 2001 From: hj kim Date: Wed, 13 Mar 2019 17:26:44 +0900 Subject: [PATCH] Change 'unsigned char*' to 'const unsigned char *' for inpu data Change-Id: I249bfbe41efdbb46c96409763ea16f623c4a0681 --- common/include/mm_util_image.h | 2 +- common/mm_util_image.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 common/include/mm_util_image.h mode change 100644 => 100755 common/mm_util_image.c diff --git a/common/include/mm_util_image.h b/common/include/mm_util_image.h old mode 100644 new mode 100755 index 9c683f6..be668f1 --- a/common/include/mm_util_image.h +++ b/common/include/mm_util_image.h @@ -28,7 +28,7 @@ gboolean mm_image_is_valid_image(mm_util_image_h image); void mm_image_debug_image(mm_util_image_h image, const char *message); int mm_image_create_image(unsigned int width, unsigned int height, - mm_util_color_format_e color, unsigned char *data, size_t size, + mm_util_color_format_e color, const unsigned char *data, size_t size, mm_util_image_h *image); int mm_image_set_delay_time(mm_util_image_h image, unsigned int delay_time); diff --git a/common/mm_util_image.c b/common/mm_util_image.c old mode 100644 new mode 100755 index e66253a..f1f2e69 --- a/common/mm_util_image.c +++ b/common/mm_util_image.c @@ -46,7 +46,7 @@ void mm_image_debug_image(mm_util_image_h image, const char *message) } int mm_image_create_image(unsigned int width, unsigned int height, - mm_util_color_format_e color, unsigned char *data, size_t size, + mm_util_color_format_e color, const unsigned char *data, size_t size, mm_util_image_h *image) { mm_image_info_s *_image = NULL; -- 2.34.1