From: Dave Love Date: Tue, 18 Jul 2000 12:41:55 +0000 (+0000) Subject: (XtApplyToWidgets): Cast args of lwlib_bcopy. X-Git-Tag: emacs-pretest-21.0.90~2772 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cdefcd82cacf9531ba233db39fce4959166541e4;p=emacs.git (XtApplyToWidgets): Cast args of lwlib_bcopy. --- diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog index 2dd3655bebf..1dbd6c2b274 100644 --- a/lwlib/ChangeLog +++ b/lwlib/ChangeLog @@ -1,3 +1,7 @@ +2000-07-18 Dave Love + + * lwlib-utils.c (XtApplyToWidgets): Cast args of lwlib_bcopy. + 2000-06-23 Dave Love * lwlib-Xlw.c (xlw_popup_menu): Cast arg of pop_up_menu. 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])) */