X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lwlib%2Flwlib-utils.c;h=39da1c7d761c3ee0c32383b3bcf0ec924f8b2c9c;hb=802a05bed6ab84a978aa01f7e6510aaab35f3202;hp=9728c6a7fe58f56e6ab07bcdd2d10e6c2ea11360;hpb=ea1ea793fe6e244ef5555ed983423a204101af13;p=chise%2Fxemacs-chise.git.1 diff --git a/lwlib/lwlib-utils.c b/lwlib/lwlib-utils.c index 9728c6a..39da1c7 100644 --- a/lwlib/lwlib-utils.c +++ b/lwlib/lwlib-utils.c @@ -43,7 +43,7 @@ destroy_all_children (Widget widget) { /* Unmanage all children and destroy them. They will only be * really destroyed when we get out of DispatchEvent. */ - for (i = 0; i < number; i++) + for (i = 0; i < (int) number; i++) { Widget child = children [i]; if (!child->core.being_destroyed) @@ -118,7 +118,7 @@ XtApplyUntilToWidgets (Widget w, XtApplyUntilToWidgetsProc proc, XtPointer arg) if (XtIsComposite (w)) { CompositeWidget cw = (CompositeWidget)w; - int i; + unsigned int i; for (i = 0; i < cw->composite.num_children; i++) if (XtIsWidget (cw->composite.children [i])){ result = proc (cw->composite.children [i], arg);