From b4f950e1a4e020e7acc4e037015e6c4d1de960a2 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Sat, 17 Nov 2007 22:32:31 +0000 Subject: [PATCH] fix compile warning with C++ style cast --- src/live_effects/parameter/point.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2