diff options
author | swick <empty> | 1990-04-10 17:07:18 +0000 |
---|---|---|
committer | swick <empty> | 1990-04-10 17:07:18 +0000 |
commit | 2222549e43df35b9a09bfd29dc492b2666dcbee0 (patch) | |
tree | 69e976e472607626e8bcc80b492998e68faced05 | |
parent | a5cf6fbfafc91be479ee8f51246bc34e880a290c (diff) |
lint
-rw-r--r-- | xc/lib/Xt/Geometry.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/xc/lib/Xt/Geometry.c b/xc/lib/Xt/Geometry.c index e6a2be375..02464ce1c 100644 --- a/xc/lib/Xt/Geometry.c +++ b/xc/lib/Xt/Geometry.c @@ -1,5 +1,5 @@ #ifndef lint -static char Xrcsid[] = "$XConsortium: Geometry.c,v 1.44 90/04/04 11:27:56 swick Exp $"; +static char Xrcsid[] = "$XConsortium: Geometry.c,v 1.45 90/04/10 16:57:22 swick Exp $"; /* $oHeader: Geometry.c,v 1.3 88/08/23 11:37:50 asente Exp $ */ #endif /* lint */ @@ -45,8 +45,9 @@ static void ClearRectObjAreas(r, old) bw2 = r->rectangle.border_width << 1; XClearArea( XtDisplay(pw), XtWindow(pw), - r->rectangle.x, r->rectangle.y, - r->rectangle.width + bw2, r->rectangle.height + bw2, + (int)r->rectangle.x, (int)r->rectangle.y, + (unsigned int)(r->rectangle.width + bw2), + (unsigned int)(r->rectangle.height + bw2), TRUE ); } @@ -344,7 +345,8 @@ void XtResizeWidget(w, width, height, borderWidth) if ((height + (borderWidth << 1)) > old_height) old_height = height + (borderWidth << 1); XClearArea( XtDisplay(pw), XtWindow(pw), - w->core.x, w->core.y, old_width, old_height, + (int)w->core.x, (int)w->core.y, + (unsigned int)old_width, (unsigned int)old_height, TRUE ); } } |