diff options
Diffstat (limited to 'lwlib/lwlib-utils.c')
-rw-r--r-- | lwlib/lwlib-utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lwlib/lwlib-utils.c b/lwlib/lwlib-utils.c index 75aad733a39..dcc0b42ca54 100644 --- a/lwlib/lwlib-utils.c +++ b/lwlib/lwlib-utils.c @@ -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])) */ |