From 730c907effc5ce90ec9e8b9be5700c4b99eabfc8 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Mon, 14 Jan 2008 14:22:59 +0000 Subject: [PATCH] fix signedness warning. 2008-01-14 Michael Natterer * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix signedness warning. svn path=/trunk/; revision=19368 --- ChangeLog | 5 +++++ gtk/gtkoldeditable.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9f56fbc148..cd60e84475 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-01-14 Michael Natterer + + * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix + signedness warning. + 2008-01-14 Michael Natterer * gtk/gtkiconcache.c (find_image_offset): remove unused variable. diff --git a/gtk/gtkoldeditable.c b/gtk/gtkoldeditable.c index ced3b50058..43c66e91b3 100644 --- a/gtk/gtkoldeditable.c +++ b/gtk/gtkoldeditable.c @@ -634,7 +634,7 @@ gtk_old_editable_selection_received (GtkWidget *widget, { GtkOldEditable *old_editable = GTK_OLD_EDITABLE (widget); - gchar *text = gtk_selection_data_get_text (selection_data); + guchar *text = gtk_selection_data_get_text (selection_data); if (!text) { @@ -660,7 +660,7 @@ gtk_old_editable_selection_received (GtkWidget *widget, if (text) { - gtk_old_editable_paste_received (old_editable, text, FALSE); + gtk_old_editable_paste_received (old_editable, (gchar *) text, FALSE); g_free (text); } }