location_palette_item: Fix signed to unsigned conversion compiler warning

This commit is contained in:
Jyrki Vesterinen 2016-09-13 21:38:22 +03:00
parent 5e930ea5fb
commit e93ae16cfd

View file

@ -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);
}