From: Klaus Ethgen Date: Sun, 28 Jul 2019 21:13:21 +0000 (+0100) Subject: Another sign problem X-Git-Tag: v1.6~161^2~1 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=22cfaba9911d704115cd148f4e578a1574b2d9cf Another sign problem --- diff --git a/src/layout_image.c b/src/layout_image.c index 1a6cd595..7f4070e6 100644 --- a/src/layout_image.c +++ b/src/layout_image.c @@ -820,7 +820,7 @@ static void layout_image_dnd_receive(GtkWidget *widget, GdkDragContext *context, if (info == TARGET_TEXT_PLAIN) { - url = g_strdup(gtk_selection_data_get_data(selection_data)); + url = g_strdup((gchar *)gtk_selection_data_get_data(selection_data)); download_web_file(url, lw); g_free(url); }