diff options
author | Dave Love <fx@gnu.org> | 2000-07-18 12:41:55 +0000 |
---|---|---|
committer | Dave Love <fx@gnu.org> | 2000-07-18 12:41:55 +0000 |
commit | cdefcd82cacf9531ba233db39fce4959166541e4 (patch) | |
tree | c53f1b9d8897254e27ac966298fb571e6e23ef4f /lwlib | |
parent | 7381ae055bf78dcacf4167d9f4c34bd6a0b3c26c (diff) | |
download | emacs-cdefcd82cacf9531ba233db39fce4959166541e4.tar.gz |
(XtApplyToWidgets): Cast args of lwlib_bcopy.
Diffstat (limited to 'lwlib')
-rw-r--r-- | lwlib/ChangeLog | 4 | ||||
-rw-r--r-- | lwlib/lwlib-utils.c | 3 |
2 files changed, 6 insertions, 1 deletions
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 <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. 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])) */ |