diff options
author | Shivakumar Halagatti <Shivakumar.Halagatti@in.bosch.com> | 2020-12-21 11:47:30 +0530 |
---|---|---|
committer | Shivakumar Halagatti <Shivakumar.Halagatti@in.bosch.com> | 2020-12-21 12:45:32 +0530 |
commit | 0cf7ed2885a508b230800f3c2c743f3997a5c8a7 (patch) | |
tree | c2793eaa0f3f3e8b9f621ee35ba4b66d3e0c3d02 | |
parent | cfdb7a7402a12600daedddb46da2e360359cc05b (diff) | |
download | wayland-ivi-extension-0cf7ed2885a508b230800f3c2c743f3997a5c8a7.tar.gz |
ivi-controller : Fix compiler warnings
API weston_config_section_get_bool needs third argument of type int.
Since enable_cursor is of uint8_t type change it to int to solve
the "incompatible pointer type" warning.
Signed-off-by: Shivakumar Halagatti <Shivakumar.Halagatti@in.bosch.com>
-rw-r--r-- | weston-ivi-shell/src/ivi-controller.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weston-ivi-shell/src/ivi-controller.h b/weston-ivi-shell/src/ivi-controller.h index 9abb843..00f5910 100644 --- a/weston-ivi-shell/src/ivi-controller.h +++ b/weston-ivi-shell/src/ivi-controller.h @@ -87,7 +87,7 @@ struct ivishell { int32_t bkgnd_surface_id; uint32_t bkgnd_color; - uint8_t enable_cursor; + int enable_cursor; struct ivisurface *bkgnd_surface; struct weston_layer bkgnd_layer; struct weston_view *bkgnd_view; |