diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2012-08-09 19:12:28 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2012-08-09 19:12:28 +0000 |
| commit | 81e302f81e877421e5484b086ab6472c557ebc74 (patch) | |
| tree | 691753a77f5825ea2a2ee628d3471590ad83dbf3 /src/live_effects/lpe-rough-hatches.cpp | |
| parent | Warnings. Fix for Bug #323414 (strict-aliasing rules warnings). (diff) | |
| download | inkscape-81e302f81e877421e5484b086ab6472c557ebc74.tar.gz inkscape-81e302f81e877421e5484b086ab6472c557ebc74.zip | |
Warnings cleanup (see Bug #1034663).
(bzr r11602)
Diffstat (limited to 'src/live_effects/lpe-rough-hatches.cpp')
| -rw-r--r-- | src/live_effects/lpe-rough-hatches.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/lpe-rough-hatches.cpp b/src/live_effects/lpe-rough-hatches.cpp index 043296526..de40d4fb5 100644 --- a/src/live_effects/lpe-rough-hatches.cpp +++ b/src/live_effects/lpe-rough-hatches.cpp @@ -414,7 +414,7 @@ LPERoughHatches::linearSnake(Piecewise<D2<SBasis> > const &f, Point const &org){ while ( i < lscs.size() ){ int dir = 0; //switch orientation of first segment according to starting point. - if ((i % 2 == n % 2) && ((j + 1) < lscs[i].size()) && !lscs[i][j].used){ + if ((static_cast<long long>(i) % 2 == n % 2) && ((j + 1) < lscs[i].size()) && !lscs[i][j].used){ j += 1; dir = 2; } |
