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