(XtApplyToWidgets): Cast args of lwlib_bcopy.

This commit is contained in:
Dave Love 2000-07-18 12:41:55 +00:00
parent 7381ae055b
commit cdefcd82ca
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2000-07-18 Dave Love <fx@gnu.org>
* lwlib-utils.c (XtApplyToWidgets): Cast args of lwlib_bcopy.
2000-06-23 Dave Love <fx@gnu.org>
* lwlib-Xlw.c (xlw_popup_menu): Cast arg of pop_up_menu.

View file

@ -76,7 +76,8 @@ XtApplyToWidgets (w, proc, arg)
int nkids = cw->composite.num_children;
Widget *kids = (Widget *) malloc (sizeof (Widget) * nkids);
int i;
lwlib_bcopy (cw->composite.children, kids, sizeof (Widget) * nkids);
lwlib_bcopy ((char *) cw->composite.children, (char *) kids,
sizeof (Widget) * nkids);
for (i = 0; i < nkids; i++)
/* This prevent us from using gadgets, why is it here? */
/* if (XtIsWidget (kids [i])) */