summaryrefslogtreecommitdiff
path: root/weston-ivi-shell/src/ivi-controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'weston-ivi-shell/src/ivi-controller.c')
-rwxr-xr-xweston-ivi-shell/src/ivi-controller.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/weston-ivi-shell/src/ivi-controller.c b/weston-ivi-shell/src/ivi-controller.c
index 3a66d37..8387575 100755
--- a/weston-ivi-shell/src/ivi-controller.c
+++ b/weston-ivi-shell/src/ivi-controller.c
@@ -1077,8 +1077,8 @@ controller_screen_set_render_order(struct wl_client *client,
int i = 0;
(void)client;
- *layoutlayer_array = (struct ivi_layout_layer*)calloc(
- id_layers->size, sizeof(void*));
+ layoutlayer_array = (struct ivi_layout_layer**)calloc(
+ id_layers->size, sizeof(void*));
wl_array_for_each(id_layer, id_layers) {
wl_list_for_each(ivilayer, &iviscrn->shell->list_layer, link) {