diff src/dialog-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 9ee227acff29
line wrap: on
line diff
--- a/src/dialog-x.c	Mon Aug 13 08:45:53 2007 +0200
+++ b/src/dialog-x.c	Mon Aug 13 08:46:35 2007 +0200
@@ -45,7 +45,7 @@
   widget_value *wv;
   int got_some;
   wv = xmalloc_widget_value ();
-  wv->name = "value";
+  wv->name = (char *) "value";
   got_some = lw_get_some_values (id, wv);
   if (got_some)
     {
@@ -145,7 +145,7 @@
 
   wv_closure = make_opaque_ptr (kids);
   record_unwind_protect (widget_value_unwind, wv_closure);
-  prev->name = "message";
+  prev->name = (char *) "message";
   prev->value = xstrdup (name);
   prev->enabled = 1;