Commit ce01517a authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

audio_list_album_view: Fix warning about %d & time_t

time_t is typically a signed integer, so long long is enough to hold any
values
parent 3eb064d2
......@@ -113,7 +113,7 @@ genlist_text_get_cb(void *data, Evas_Object *obj, const char *part)
}
else if (!strcmp(part, "elm.text.sub.left.bottom")) {
if (p_view_item->p_album_item->i_release_date) {
asprintf(&buf, "%d", p_view_item->p_album_item->i_release_date);
asprintf(&buf, "%lld", (long long)p_view_item->p_album_item->i_release_date);
return buf;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment