mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-19 18:00:09 +00:00
Fix warning: cast to gchar*
This commit is contained in:
parent
d76287c94b
commit
cbba733b47
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user