summaryrefslogtreecommitdiffstats
path: root/src/sp-shape.cpp
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2007-11-27 19:12:45 +0000
committerishmal <ishmal@users.sourceforge.net>2007-11-27 19:12:45 +0000
commit5b4fb0571bac4880f626190597f4374307cce8e6 (patch)
tree8f6523c59c67906ce3fe824bdcaf0fe8b6c83286 /src/sp-shape.cpp
parentExcised unneeded windows include that slipped in by mistake. (diff)
downloadinkscape-5b4fb0571bac4880f626190597f4374307cce8e6.tar.gz
inkscape-5b4fb0571bac4880f626190597f4374307cce8e6.zip
use size_t for comparison with strlen() to be more portable
(bzr r4140)
Diffstat (limited to 'src/sp-shape.cpp')
-rw-r--r--src/sp-shape.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-shape.cpp b/src/sp-shape.cpp
index daf85b534..13500862a 100644
--- a/src/sp-shape.cpp
+++ b/src/sp-shape.cpp
@@ -1121,7 +1121,7 @@ static void sp_shape_snappoints(SPItem const *item, SnapPointsIter p)
gchar const *nodetypes = item->repr->attribute("sodipodi:nodetypes");
int nodetype_index = 0;
- bool nodetypes_out_of_date = strlen(nodetypes) != uint(shape->curve->end);
+ bool nodetypes_out_of_date = strlen(nodetypes) != (size_t)(shape->curve->end);
// nodetypes might still be empty, e.g. for pure SVG files
// or it might not have been updated yet