Silent a compiler warning.
authorLaurent Monin <geeqie@norz.org>
Wed, 27 Aug 2008 16:42:59 +0000 (16:42 +0000)
committerLaurent Monin <geeqie@norz.org>
Wed, 27 Aug 2008 16:42:59 +0000 (16:42 +0000)
src/layout_util.c

index ca8cc23..540d778 100644 (file)
@@ -1308,7 +1308,7 @@ static const gchar *menu_ui_description =
 
 static gchar *menu_translate(const gchar *path, gpointer data)
 {
-       return _(path);
+       return (gchar *)(_(path));
 }
 
 static void layout_actions_setup_mark(LayoutWindow *lw, gint mark, gchar *name_tmpl, gchar *label_tmpl, gchar *accel_tmpl,  GCallback cb)