diff options
| author | Campbell Barton <ideasman42@gmail.com> | 2012-11-20 22:55:55 +0000 |
|---|---|---|
| committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-20 22:55:55 +0000 |
| commit | d463240d8fd961d45b47ba96e0d93c37e1719da7 (patch) | |
| tree | 25be35855525cba941ff28f0d1ea7684dc1a258c /src/livarot/ShapeMisc.cpp | |
| parent | Fix for #970355, radial gradient using object bounding box. (diff) | |
| download | inkscape-d463240d8fd961d45b47ba96e0d93c37e1719da7.tar.gz inkscape-d463240d8fd961d45b47ba96e0d93c37e1719da7.zip | |
code cleanup: quiet warnings with gcc.
(bzr r11888)
Diffstat (limited to 'src/livarot/ShapeMisc.cpp')
| -rw-r--r-- | src/livarot/ShapeMisc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/livarot/ShapeMisc.cpp b/src/livarot/ShapeMisc.cpp index 7b170e8a0..a7e5a6cdc 100644 --- a/src/livarot/ShapeMisc.cpp +++ b/src/livarot/ShapeMisc.cpp @@ -406,7 +406,7 @@ Shape::ConvertToFormeNested (Path * dest, int nbP, Path * *orig, int wildPath,in if (startBord >= 0) { // parcours en profondeur pour mettre les leF et riF a leurs valeurs - swdData[startBord].misc = (void *) (1+nbNest); + swdData[startBord].misc = (void *)(intptr_t)(1 + nbNest); //printf("part de %d\n",startBord); int curBord = startBord; bool back = false; @@ -507,7 +507,7 @@ Shape::ConvertToFormeNested (Path * dest, int nbP, Path * *orig, int wildPath,in startBord=nb; } } - swdData[nb].misc = (void *) (1+nbNest); + swdData[nb].misc = (void *)(intptr_t)(1 + nbNest); swdData[nb].ind = searchInd++; swdData[nb].precParc = curBord; swdData[curBord].suivParc = nb; |
