diff src/menubar-x.c @ 2:ac2d302a0011 r19-15b2

Import from CVS: tag r19-15b2
author cvs
date Mon, 13 Aug 2007 08:46:35 +0200
parents 376386a54a3c
children 0293115a14e9
line wrap: on
line diff
--- a/src/menubar-x.c	Mon Aug 13 08:45:53 2007 +0200
+++ b/src/menubar-x.c	Mon Aug 13 08:46:35 2007 +0200
@@ -228,7 +228,7 @@
 	}
       else if (menubar_root_p)
 	{
-	  wv->name = "menubar";
+	  wv->name = (char *) "menubar";
 	  wv->type = CASCADE_TYPE; /* Well, nothing else seems to fit and
 				      this is ignored anyway...  */
 	}
@@ -367,7 +367,7 @@
 	  wv->next = NULL;
 	  wv->contents = xmalloc_widget_value ();
 	  wv->contents->type = TEXT_TYPE;
-	  wv->contents->name = "No menu";
+	  wv->contents->name = (char *) "No menu";
 	  wv->contents->next = NULL;
 	}
       assert (wv && wv->type == CASCADE_TYPE && wv->contents);