Fix warning: cast to gchar*

This commit is contained in:
Javier Jardón 2009-10-29 03:58:00 +01:00
parent d76287c94b
commit cbba733b47

View File

@ -1068,7 +1068,7 @@ set_focus_line_attributes (GtkWidget *drawing_area,
if (dash_list[0]) if (dash_list[0])
{ {
gint n_dashes = strlen (dash_list); gint n_dashes = strlen ((gchar *)dash_list);
gdouble *dashes = g_new (gdouble, n_dashes); gdouble *dashes = g_new (gdouble, n_dashes);
gdouble total_length = 0; gdouble total_length = 0;
gdouble dash_offset; gdouble dash_offset;