diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2012-11-11 11:20:05 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2012-11-11 11:20:05 +0000 |
| commit | f8a5b66bb57495c83274218dc98530a071b10f27 (patch) | |
| tree | 0daca6f3d143d95739dd6fb423a7e262f13275b7 /src/display/curve.cpp | |
| parent | Build. Fixing win32 build with cairo > 1.11.4 (replacing uint with unsigned i... (diff) | |
| download | inkscape-f8a5b66bb57495c83274218dc98530a071b10f27.tar.gz inkscape-f8a5b66bb57495c83274218dc98530a071b10f27.zip | |
cppcheck: Convert more C-style pointer casts to GObject or C++
(bzr r11867)
Diffstat (limited to 'src/display/curve.cpp')
| -rw-r--r-- | src/display/curve.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/curve.cpp b/src/display/curve.cpp index 1a788b59a..ae243853e 100644 --- a/src/display/curve.cpp +++ b/src/display/curve.cpp @@ -150,7 +150,7 @@ SPCurve::concat(GSList const *list) SPCurve *new_curve = new SPCurve(); for (GSList const *l = list; l != NULL; l = l->next) { - SPCurve *c = (SPCurve *) l->data; + SPCurve *c = static_cast<SPCurve *>(l->data); new_curve->_pathv.insert( new_curve->_pathv.end(), c->get_pathvector().begin(), c->get_pathvector().end() ); } |
