summaryrefslogtreecommitdiffstats
path: root/src/Gui/Renderer
diff options
context:
space:
mode:
Diffstat (limited to 'src/Gui/Renderer')
-rw-r--r--src/Gui/Renderer/RoomListRenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Gui/Renderer/RoomListRenderer.cpp b/src/Gui/Renderer/RoomListRenderer.cpp
index 83b0402..8291c4e 100644
--- a/src/Gui/Renderer/RoomListRenderer.cpp
+++ b/src/Gui/Renderer/RoomListRenderer.cpp
@@ -38,7 +38,7 @@ void RoomListRenderer::render_vfunc(const Glib::RefPtr<Gdk::Drawable> &window, G
const Gdk::Rectangle &/*background_area*/, const Gdk::Rectangle &cell_area,
const Gdk::Rectangle &/*expose_area*/, Gtk::CellRendererState /*flags*/) {
- Data::Room *room = reinterpret_cast<Data::Room*>(value.get_value());
+ Data::Room *room = static_cast<Data::Room*>(value.get_value());
int xpad, ypad;
get_padding(xpad, ypad);