From: johanengelen Date: Sat, 17 Nov 2007 22:32:31 +0000 (+0000) Subject: fix compile warning with C++ style cast X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b4f950e1a4e020e7acc4e037015e6c4d1de960a2;p=inkscape.git fix compile warning with C++ style cast --- 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(this)), SP_KNOT_STATE_NORMAL); sp_knot_show (knot); /* // connect knot's signals