diff lwlib/lwlib-Xlw.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 bcdc7deadc19
line wrap: on
line diff
--- a/lwlib/lwlib-Xlw.c	Mon Aug 13 08:45:53 2007 +0200
+++ b/lwlib/lwlib-Xlw.c	Mon Aug 13 08:46:35 2007 +0200
@@ -229,17 +229,17 @@
   int ac = 0;
   Widget scrollbar;
 
-  XtSetArg (al[ac], XmNminimum, 1); ac++;
-  XtSetArg (al[ac], XmNmaximum, INT_MAX); ac++;
-  XtSetArg (al[ac], XmNincrement, 1); ac++;
-  XtSetArg (al[ac], XmNpageIncrement, 1); ac++;
+  XtSetArg (al[ac], (String) XmNminimum, 1); ac++;
+  XtSetArg (al[ac], (String) XmNmaximum, INT_MAX); ac++;
+  XtSetArg (al[ac], (String) XmNincrement, 1); ac++;
+  XtSetArg (al[ac], (String) XmNpageIncrement, 1); ac++;
   if (vertical)
     {
-      XtSetArg (al[ac], XmNorientation, XmVERTICAL); ac++;
+      XtSetArg (al[ac], (String) XmNorientation, XmVERTICAL); ac++;
     }
   else
     {
-      XtSetArg (al[ac], XmNorientation, XmHORIZONTAL); ac++;
+      XtSetArg (al[ac], (String) XmNorientation, XmHORIZONTAL); ac++;
     }
 
   scrollbar =