From 39a8fa1255669b4a765e2f7a941f521706059e5d Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sat, 3 Mar 2012 17:23:22 +0000 Subject: [PATCH] Remove an old-style-cast. --- src/editor/editor_palettes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/editor_palettes.cpp b/src/editor/editor_palettes.cpp index 5c2561a5d90..1ccb50da72b 100644 --- a/src/editor/editor_palettes.cpp +++ b/src/editor/editor_palettes.cpp @@ -457,7 +457,7 @@ void terrain_palette::draw(bool force) { << ""; } tooltips::add_tooltip(dstrect, tooltip_text.str()); - if (((int)counter) % terrain_width_ == terrain_width_ - 1) + if (static_cast(counter) % terrain_width_ == terrain_width_ - 1) y += terrain_size_ + size_specs_.terrain_padding; } update_rect(loc);