# HG changeset patch # User Dave Love # Date 963924090 0 # Node ID 3f00bdb24c1f03d099c2261329f9d43606643242 # Parent 88f980a73f48bb0f9845568f585006884f30be9c (XtApplyToWidgets): Cast args of lwlib_bcopy. diff -r 88f980a73f48 -r 3f00bdb24c1f lwlib/lwlib-utils.c --- 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])) */