Mercurial > emacs
changeset 30279:3f00bdb24c1f
(XtApplyToWidgets): Cast args of lwlib_bcopy.
author | Dave Love <fx@gnu.org> |
---|---|
date | Tue, 18 Jul 2000 12:41:30 +0000 |
parents | 88f980a73f48 |
children | 47947c044d2d |
files | lwlib/lwlib-utils.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lwlib/lwlib-utils.c Tue Jul 18 12:30:02 2000 +0000 +++ b/lwlib/lwlib-utils.c Tue Jul 18 12:41:30 2000 +0000 @@ -76,7 +76,8 @@ 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])) */