* lwlib-utils.c (XtCompositeChildren): Likewise.
This commit is contained in:
parent
5c5e6a401e
commit
b165261a47
2 changed files with 2 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
* lwlib-Xm.c (make_dialog): Rename local to avoid shadowing.
|
||||
(make_menu_in_widget): Add cast to avoid warning.
|
||||
* lwlib-utils.c (XtCompositeChildren): Likewise.
|
||||
|
||||
* lwlib.c (EXPLAIN, destroy_one_instance): Avoid "else;".
|
||||
(first_child) [USE_MOTIF]: Protoize.
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ XtCompositeChildren (Widget widget, unsigned int *number)
|
|||
return NULL;
|
||||
}
|
||||
n = cw->composite.num_children;
|
||||
result = (Widget*)XtMalloc (n * sizeof (Widget));
|
||||
result = (Widget*)(void*)XtMalloc (n * sizeof (Widget));
|
||||
*number = n;
|
||||
for (i = 0; i < n; i++)
|
||||
result [i] = cw->composite.children [i];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue