summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/point.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-11-17 22:32:31 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-11-17 22:32:31 +0000
commit3544450aa281477be1261f4e959ba6422723893c (patch)
tree60c5d98db74ddaeb18ed680c5f6d2da901b368dc /src/live_effects/parameter/point.cpp
parentAdding ICC Profiles in X support (diff)
downloadinkscape-3544450aa281477be1261f4e959ba6422723893c.tar.gz
inkscape-3544450aa281477be1261f4e959ba6422723893c.zip
fix compile warning with C++ style cast
(bzr r4096)
Diffstat (limited to 'src/live_effects/parameter/point.cpp')
-rw-r--r--src/live_effects/parameter/point.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/parameter/point.cpp b/src/live_effects/parameter/point.cpp
index ab9f3f98a..3d13ed12d 100644
--- a/src/live_effects/parameter/point.cpp
+++ b/src/live_effects/parameter/point.cpp
@@ -135,7 +135,7 @@ PointParam::on_button_click()
sp_knot_update_ctrl(knot);
// move knot to the given point
- sp_knot_set_position (knot, &NR::Point(*this), SP_KNOT_STATE_NORMAL);
+ sp_knot_set_position (knot, &NR::Point(*static_cast<Geom::Point*>(this)), SP_KNOT_STATE_NORMAL);
sp_knot_show (knot);
/*
// connect knot's signals