fix type cast warning

This commit is contained in:
Mario Hüttel 2018-05-31 00:06:00 +02:00
parent 0290a6c9d3
commit 58c7f571f4

View File

@ -67,7 +67,7 @@ GList *export_rendered_layer_info()
layer_element_get_color(le, &linfo->color); layer_element_get_color(le, &linfo->color);
linfo->layer = layer_element_get_layer(le); linfo->layer = layer_element_get_layer(le);
linfo->stacked_position = i; linfo->stacked_position = i;
linfo->name = layer_element_get_name(le); linfo->name = (char *)layer_element_get_name(le);
/* Append to list */ /* Append to list */
info_list = g_list_append(info_list, (gpointer)linfo); info_list = g_list_append(info_list, (gpointer)linfo);