summaryrefslogtreecommitdiff
path: root/lwlib
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-07-18 12:41:55 +0000
committerDave Love <fx@gnu.org>2000-07-18 12:41:55 +0000
commitcdefcd82cacf9531ba233db39fce4959166541e4 (patch)
treec53f1b9d8897254e27ac966298fb571e6e23ef4f /lwlib
parent7381ae055bf78dcacf4167d9f4c34bd6a0b3c26c (diff)
downloademacs-cdefcd82cacf9531ba233db39fce4959166541e4.tar.gz
(XtApplyToWidgets): Cast args of lwlib_bcopy.
Diffstat (limited to 'lwlib')
-rw-r--r--lwlib/ChangeLog4
-rw-r--r--lwlib/lwlib-utils.c3
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])) */