View | Details | Raw Unified | Return to bug 54903
Collapse All | Expand All

(-)xbae-4.60.4.orig/examples/tests/leak2.c (-1 / +1 lines)
Lines 20-26 Link Here
20
20
21
XtResource	resources[] = {
21
XtResource	resources[] = {
22
	{ "numIter", "NumIter", XtRInt, sizeof(int),
22
	{ "numIter", "NumIter", XtRInt, sizeof(int),
23
		XtOffsetOf(AppRes, numIter), XtRImmediate, 1000 },
23
		XtOffsetOf(AppRes, numIter), XtRImmediate, (void*)1000 },
24
};
24
};
25
25
26
int
26
int
(-)xbae-4.60.4.orig/src/Methods.c (-1 / +1 lines)
Lines 1688-1694 Link Here
1688
                                         * The event must have occurred in a legal position
1688
                                         * The event must have occurred in a legal position
1689
                                         * otherwise control wouldn't have made it here
1689
                                         * otherwise control wouldn't have made it here
1690
                                         */
1690
                                         */
1691
                                        xbaeEventToRowColumn(mw, event, &r, &c, &x, &y);
1691
                                        xbaeEventToRowColumn((Widget)mw, event, &r, &c, &x, &y);
1692
                                        x -= mw->matrix.cell_shadow_thickness;
1692
                                        x -= mw->matrix.cell_shadow_thickness;
1693
                                        y -= mw->matrix.cell_shadow_thickness;
1693
                                        y -= mw->matrix.cell_shadow_thickness;
1694
                                        position = XmTextXYToPos(TextField(mw), x, y);
1694
                                        position = XmTextXYToPos(TextField(mw), x, y);

Return to bug 54903