diff options
author | Javier Jardón <jjardon@gnome.org> | 2009-10-28 23:49:55 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2009-10-30 04:04:28 +0100 |
commit | d76287c94b3b6a111eb6bf84315ba9c10ff3eb7f (patch) | |
tree | 91097e2674bcb213d45d4a253bb203914da5d423 | |
parent | 0f78a6c89a96c53d17d93d1854d0d6c6b25c229e (diff) | |
download | gtk+-d76287c94b3b6a111eb6bf84315ba9c10ff3eb7f.tar.gz |
Fix warning: cast to gchar*
-rw-r--r-- | gdk/x11/gdkim-x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/x11/gdkim-x11.c b/gdk/x11/gdkim-x11.c index 5e00ac3254..bbd9ac12f7 100644 --- a/gdk/x11/gdkim-x11.c +++ b/gdk/x11/gdkim-x11.c @@ -170,7 +170,7 @@ gdk_wcstombs (const GdkWChar *src) * We must copy the string into an area allocated by glib, because * the string 'tpr.value' must be freed by XFree(). */ - mbstr = g_strdup(tpr.value); + mbstr = g_strdup((gchar *)tpr.value); XFree (tpr.value); } else |