From 0632baee212319360a01568ac8e8613cdfdc6b16 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 9 Aug 2005 00:07:12 +0000 Subject: "g_locale_to_utf8()" returns a "gchar *", and the string it returns is dynamically allocated. Don't assign its result to "const gchar *". svn path=/trunk/; revision=15266 --- gtk/proto_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/proto_draw.c') diff --git a/gtk/proto_draw.c b/gtk/proto_draw.c index a9025ef39b..4fb4c8b560 100644 --- a/gtk/proto_draw.c +++ b/gtk/proto_draw.c @@ -1020,7 +1020,7 @@ packet_hex_print_common(GtkTextView *bv, const guint8 *pd, int len, int bstart, GtkTextBuffer *buf = gtk_text_view_get_buffer(GTK_TEXT_VIEW(bv)); GtkTextIter iter; const char *revstyle; - const gchar *convline; + gchar *convline; gsize newsize; GtkTextMark *mark = NULL; #endif -- cgit v1.2.3