Change 'unsigned char*' to 'const unsigned char *' for inpu data 71/201371/1
authorhj kim <backto.kim@samsung.com>
Wed, 13 Mar 2019 08:26:44 +0000 (17:26 +0900)
committerhj kim <backto.kim@samsung.com>
Wed, 13 Mar 2019 08:26:44 +0000 (17:26 +0900)
Change-Id: I249bfbe41efdbb46c96409763ea16f623c4a0681

common/include/mm_util_image.h [changed mode: 0644->0755]
common/mm_util_image.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 9c683f6..be668f1
@@ -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);
old mode 100644 (file)
new mode 100755 (executable)
index e66253a..f1f2e69
@@ -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;