Signed-off-by: Ashima Garg <ashima.garg@samsung.com> 67/195067/1 accepted/tizen/unified/20181211.064634 submit/tizen/20181210.174641
authorAshima Garg <ashima.garg@samsung.com>
Mon, 10 Dec 2018 17:15:04 +0000 (22:45 +0530)
committerAshima Garg <ashima.garg@samsung.com>
Mon, 10 Dec 2018 17:15:04 +0000 (22:45 +0530)
Changed added to resolve the build issues due to parameters of dlog function

Change-Id: I9dcfb755794c3f685081d9ed96759815d2159a2c

src/data/ge-local-data.c
src/util/ge-util.c
src/view/ge-albums.c

index 51dd7c9..118f0f0 100644 (file)
@@ -115,7 +115,7 @@ int _ge_local_data_get_media_count(const char *cluster_id,
        _ge_data_util_destroy_filter(filter);
 
        if (ret != MEDIA_CONTENT_ERROR_NONE) {
-               ge_dbgE("Get media count failed[d]!", ret);
+               ge_dbgE("Get media count failed[%d]!", ret);
                return -1;
        }
 
@@ -143,7 +143,7 @@ int _ge_local_data_get_all_media_count(ge_filter_s * condtion,
        _ge_data_util_destroy_filter(filter);
 
        if (ret != MEDIA_CONTENT_ERROR_NONE) {
-               ge_dbgE("Get media count failed[d]!", ret);
+               ge_dbgE("Get media count failed[%d]!", ret);
                return -1;
        }
 
@@ -185,7 +185,7 @@ int _ge_local_data_get_all_albums_media_list(ge_filter_s * condition,
        _ge_data_util_destroy_filter(filter);
 
        if (ret != MEDIA_CONTENT_ERROR_NONE) {
-               ge_dbgE("Get all medias failed[d]!", ret);
+               ge_dbgE("Get all medias failed[%d]!", ret);
                return -1;
        }
 
index de3fbda..b9bc6aa 100644 (file)
@@ -163,7 +163,7 @@ int _ge_atoi(const char *number)
 
        if ((errno == ERANGE && (val == LONG_MAX || val == LONG_MIN))
                || (errno != 0 && val == 0)) {
-               ge_dbgE("strtol, val = %d", val);
+               ge_dbgE("strtol, val = %ld", val);
                return -1;
        }
 
index d8fc19e..a4a6f99 100644 (file)
@@ -1047,7 +1047,7 @@ static void _ge_grid_thumb_created_cb(media_content_error_e error,
                        GE_FREEIF(gitem->item->thumb_url);
                        gitem->item->thumb_url = strdup(GE_ICON_CONTENTS_BROKEN);
                        elm_gengrid_item_update(gitem->elm_item);
-                       ge_dbg("File corrupted, change to broken thumbnail", path);
+                       ge_dbg("File corrupted, change to broken thumbnail %s", path);
                } else {
                        ge_dbgE("Invalid thumb path! Error number[%d]", error);
                }