Fix build error for VD Code 36/228436/2
authorhj kim <backto.kim@samsung.com>
Mon, 23 Mar 2020 05:49:11 +0000 (14:49 +0900)
committerhj kim <backto.kim@samsung.com>
Mon, 23 Mar 2020 07:11:58 +0000 (16:11 +0900)
Change-Id: Idf353d74b4684c186061ab1bb7e4f66e959c5f57

src/media_db.c

index 9f68545059593b85683ac8da24918c5d3f2b103a..a84d07c5010503c1a17399e594014fce43054b17 100755 (executable)
@@ -397,7 +397,7 @@ int _media_db_get_media_group_and_count(media_group_e group, filter_h filter, me
        memset(select_query, 0x00, sizeof(select_query));
        memset(group_query, 0x00, sizeof(group_query));
 
-       char* group_name = __media_db_get_group_name(group);
+       const char* group_name = __media_db_get_group_name(group);
        if (!STRING_VALID(group_name)) {
                ret = MEDIA_CONTENT_ERROR_INVALID_PARAMETER;
                media_content_retv_if(ret != MEDIA_CONTENT_ERROR_NONE, ret);