compositor: Fix incorrect use of bool options
authorScott Anderson <scott.anderson@collabora.com>
Wed, 29 May 2019 06:27:30 +0000 (18:27 +1200)
committerScott Anderson <scott.anderson@collabora.com>
Wed, 29 May 2019 06:30:06 +0000 (18:30 +1200)
commit2edbcbd9cdd30e00556e9618570234ea68d89b11
treef0d8715eb48f3b8dc50454adec4156b9ba6763fd
parente51478c13432cbd0483908e6e2279a2ec2d081a4
compositor: Fix incorrect use of bool options

WESTON_OPTION_BOOLEAN takes a pointer to an int as an argument, but
there were several cases of being passed a pointer to a bool instead.
This changes it to use a local int instead, and then write that value to
the bool.

Signed-off-by: Scott Anderson <scott.anderson@collabora.com>
compositor/main.c