From e93ae16cfdb96f7fd2adfc82783fb7ed682c65ac Mon Sep 17 00:00:00 2001 From: Jyrki Vesterinen Date: Tue, 13 Sep 2016 21:38:22 +0300 Subject: [PATCH] location_palette_item: Fix signed to unsigned conversion compiler warning --- src/editor/palette/location_palette.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/palette/location_palette.cpp b/src/editor/palette/location_palette.cpp index 2cb02277780..3fa61e3954c 100644 --- a/src/editor/palette/location_palette.cpp +++ b/src/editor/palette/location_palette.cpp @@ -53,7 +53,7 @@ public: sdl::draw_solid_tinted_rectangle(location().x, location().y, location().w, location().h, 200, 200, 200, 0.1, video().getSurface()); } if (state_.selected) { - sdl::draw_rectangle(location().x, location().y, location().w, location().h, -1, video().getSurface()); + sdl::draw_rectangle(location().x, location().y, location().w, location().h, 0xFFFFFFFU, video().getSurface()); } font::draw_text(&video(), location(), 16, font::NORMAL_COLOR, desc_.empty() ? id_ : desc_, location().x + 2, location().y, 0); }