mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
(XtApplyToWidgets): Cast args of lwlib_bcopy.
This commit is contained in:
parent
7381ae055b
commit
cdefcd82ca
2 changed files with 6 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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])) */
|
||||
|
|
|
|||
Loading…
Reference in a new issue