diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2012-05-25 03:32:43 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2012-05-25 03:32:43 +0000 |
| commit | dd641edf29e17371aabebdcb87e52d5c2b8091c7 (patch) | |
| tree | 7ea5ea0933e146d03a659d1e3c593d43847b4930 /src/live_effects/lpe-ruler.cpp | |
| parent | Don't use extension events API in GTK+3 builds (diff) | |
| download | inkscape-dd641edf29e17371aabebdcb87e52d5c2b8091c7.tar.gz inkscape-dd641edf29e17371aabebdcb87e52d5c2b8091c7.zip | |
Fixing warnings.
(bzr r11414)
Diffstat (limited to 'src/live_effects/lpe-ruler.cpp')
| -rw-r--r-- | src/live_effects/lpe-ruler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpe-ruler.cpp b/src/live_effects/lpe-ruler.cpp index d7a393197..5947726f0 100644 --- a/src/live_effects/lpe-ruler.cpp +++ b/src/live_effects/lpe-ruler.cpp @@ -152,10 +152,10 @@ LPERuler::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_i t_cuts.push_back(roots[v][0]); } //draw the marks - for (unsigned i=0; i<t_cuts.size(); i++){ + for (size_t i = 0; i < t_cuts.size(); i++) { Point A = pwd2_in(t_cuts[i]); Point n = rot90(unit_vector(speed(t_cuts[i])))*sign; - if ((i % mminterval) == i_shift) { + if (static_cast<int>(i % mminterval) == i_shift) { output.concat (ruler_mark(A, n, MARK_MAJOR)); } else { output.concat (ruler_mark(A, n, MARK_MINOR)); |
