diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2008-07-16 03:50:53 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2008-07-16 03:50:53 +0000 |
| commit | b224bc6b1b0b9db71828b67fa51a29103742d65d (patch) | |
| tree | 9a015c22996a11b5a643f115e5ffd7380be1c91a /src/live_effects | |
| parent | remove debug messages from last commits (diff) | |
| download | inkscape-b224bc6b1b0b9db71828b67fa51a29103742d65d.tar.gz inkscape-b224bc6b1b0b9db71828b67fa51a29103742d65d.zip | |
warning cleanup
(bzr r6329)
Diffstat (limited to 'src/live_effects')
| -rw-r--r-- | src/live_effects/lpe-ruler.cpp | 2 | ||||
| -rw-r--r-- | src/live_effects/parameter/pointparam-knotholder.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpe-ruler.cpp b/src/live_effects/lpe-ruler.cpp index 85db5c1c7..89da4efe3 100644 --- a/src/live_effects/lpe-ruler.cpp +++ b/src/live_effects/lpe-ruler.cpp @@ -54,7 +54,7 @@ LPERuler::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_i g_print ("Distance: %8.2f\n", length); Point C, D; - for (int i = 0; i < length; i+=mark_distance) { + for (int i = 0; i < length; i += static_cast<int>(mark_distance)) { C = A + dir * i; D = C + n; Piecewise<D2<SBasis> > seg(D2<SBasis>(Linear(C[X], D[X]), Linear(C[Y], D[Y]))); diff --git a/src/live_effects/parameter/pointparam-knotholder.cpp b/src/live_effects/parameter/pointparam-knotholder.cpp index 06e527ffd..3ab07a951 100644 --- a/src/live_effects/parameter/pointparam-knotholder.cpp +++ b/src/live_effects/parameter/pointparam-knotholder.cpp @@ -79,7 +79,7 @@ void PointParamKnotHolder::add_knot ( Geom::Point & p, // TODO: check if knot_click being ignored is bad: - PointParamKnotHolderClickedFunc knot_click, + PointParamKnotHolderClickedFunc /*knot_click*/, SPKnotShapeType shape, SPKnotModeType mode, guint32 color, |
