summaryrefslogtreecommitdiffstats
path: root/src/shape-editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shape-editor.cpp')
-rw-r--r--src/shape-editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp
index 1fe6e620b..2034b9d2d 100644
--- a/src/shape-editor.cpp
+++ b/src/shape-editor.cpp
@@ -154,7 +154,7 @@ static void shapeeditor_event_attr_changed(Inkscape::XML::Node */*repr*/, gchar
bool /*is_interactive*/, gpointer data)
{
g_assert(data);
- ShapeEditor *sh = ((ShapeEditor *) data);
+ ShapeEditor *sh = static_cast<ShapeEditor *>(data);
sh->shapeeditor_event_attr_changed(name);
}