Another sign problem
authorKlaus Ethgen <Klaus@Ethgen.de>
Sun, 28 Jul 2019 21:13:21 +0000 (22:13 +0100)
committerKlaus Ethgen <Klaus@Ethgen.de>
Sun, 28 Jul 2019 21:13:21 +0000 (22:13 +0100)
src/layout_image.c

index 1a6cd59..7f4070e 100644 (file)
@@ -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);
                }