liquid_framebuffer: avoid narrow warning

Issue #1987
This commit is contained in:
Alexander Boettcher 2017-04-19 21:59:43 +02:00 committed by Christian Helmuth
parent 480c42d424
commit de20d9010b

View File

@ -71,8 +71,8 @@ static bool config_alpha = true;
/** /**
* Size and position of virtual frame buffer * Size and position of virtual frame buffer
*/ */
static unsigned long config_fb_width = 500; static unsigned config_fb_width = 500;
static unsigned long config_fb_height = 400; static unsigned config_fb_height = 400;
static long config_fb_x = 400; static long config_fb_x = 400;
static long config_fb_y = 260; static long config_fb_y = 260;
@ -202,7 +202,7 @@ class Liquid_fb::Main : public Scout::Event_handler
Scout::Area const _max_size { config_fb_width + WINBORDER_WIDTH, Scout::Area const _max_size { config_fb_width + WINBORDER_WIDTH,
config_fb_height + WINBORDER_HEIGHT }; config_fb_height + WINBORDER_HEIGHT };
Scout::Point const _initial_position { config_fb_x, config_fb_y }; Scout::Point const _initial_position { (int)config_fb_x, (int)config_fb_y };
Scout::Area const _initial_size = _max_size; Scout::Area const _initial_size = _max_size;
Nitpicker_graphics_backend Nitpicker_graphics_backend