1 --- Xaw3d-1.5/xc/lib/Xaw3d/Scrollbar.c Tue Oct 15 07:41:21 1996
2 +++ Xaw3d-1.5.ia64/xc/lib/Xaw3d/Scrollbar.c Tue May 9 07:02:52 2000
4 Cardinal *num_params; /* unused */
6 register ScrollbarWidget sbw = (ScrollbarWidget) w;
7 - float top = sbw->scrollbar.top;
12 + foo.top = sbw->scrollbar.top;
14 #ifndef ARROW_SCROLLBAR
15 if (sbw->scrollbar.direction == 0) return; /* if no StartScroll */
16 @@ -1204,10 +1208,10 @@
17 there is no problem since in this case there is always a constant
18 integer number of pixels the thumb must be moved in order to scroll
19 to the next line/column. */
23 - XtCallCallbacks (w, XtNthumbProc, *(XtPointer*)&top);
24 - XtCallCallbacks (w, XtNjumpProc, (XtPointer)&top);
25 + XtCallCallbacks (w, XtNthumbProc, foo.pt);
26 + XtCallCallbacks (w, XtNjumpProc, (XtPointer)&sbw->scrollbar.top);