Remove an old-style-cast.

This commit is contained in:
Mark de Wever 2012-03-03 17:23:22 +00:00
parent 6dbf15861e
commit 39a8fa1255

View File

@ -457,7 +457,7 @@ void terrain_palette::draw(bool force) {
<< "</span>";
}
tooltips::add_tooltip(dstrect, tooltip_text.str());
if (((int)counter) % terrain_width_ == terrain_width_ - 1)
if (static_cast<int>(counter) % terrain_width_ == terrain_width_ - 1)
y += terrain_size_ + size_specs_.terrain_padding;
}
update_rect(loc);