summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-rough-hatches.cpp
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2012-08-09 19:12:28 +0000
committerJazzyNico <nicoduf@yahoo.fr>2012-08-09 19:12:28 +0000
commit81e302f81e877421e5484b086ab6472c557ebc74 (patch)
tree691753a77f5825ea2a2ee628d3471590ad83dbf3 /src/live_effects/lpe-rough-hatches.cpp
parentWarnings. Fix for Bug #323414 (strict-aliasing rules warnings). (diff)
downloadinkscape-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.cpp2
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;
}