(A-compU+758B): New abstract node.
[chise/xemacs-chise.git.1] / lwlib / xlwgauge.c
index 074a6c7..7364fd1 100644 (file)
@@ -132,7 +132,7 @@ static void EnableUpdate  (GaugeWidget);
 static void DisableUpdate (GaugeWidget);
 
 static void GaugeGetValue (XtPointer, XtIntervalId *);
-static void GaugeMercury (Display *, Window, GC, GaugeWidget, Cardinal, Cardinal);
+static void GaugeMercury (Display *, Window, GC, GaugeWidget, int, int);
 
 static Boolean GaugeConvert (Widget, Atom *, Atom *, Atom *,
                             XtPointer *, unsigned long *, int *);
@@ -819,8 +819,7 @@ GaugeGetSelCB (Widget    w,
         */
 
 void
-XawGaugeSetValue (Widget   w,
-                 Cardinal value)
+XawGaugeSetValue (Widget w, int value)
 {
        GaugeWidget gw = (GaugeWidget)w ;
        int     oldvalue ;
@@ -852,7 +851,7 @@ XawGaugeSetValue (Widget   w,
 }
 
 
-Cardinal
+int
 XawGaugeGetValue (Widget w)
 {
        GaugeWidget gw = (GaugeWidget)w ;
@@ -875,8 +874,8 @@ GaugeMercury (Display     *dpy,
              Window      win,
              GC          gc,
              GaugeWidget gw,
-             Cardinal    val0,
-             Cardinal    val1)
+             int    val0,
+             int    val1)
 {
        int     v0 = gw->gauge.v0 ;
        int     v1 = gw->gauge.v1 ;
@@ -1110,7 +1109,7 @@ GaugeGetValue (XtPointer    clientData,
               XtIntervalId *intervalId)
 {
        GaugeWidget     gw = (GaugeWidget)clientData ;
-       Cardinal        value ;
+       int     value ;
 
        if( gw->gauge.update > 0 )
          EnableUpdate(gw) ;